diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 0fa41696a1..4dd3c89c14 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -22,7 +22,7 @@ /** * this class to ease the usage of jquery dialogs */ -OCdialogs = { +var OCdialogs = { /** * displays alert dialog * @param text content of dialog diff --git a/core/js/oc-vcategories.js b/core/js/oc-vcategories.js index dfed8223b1..c7b536a2a7 100644 --- a/core/js/oc-vcategories.js +++ b/core/js/oc-vcategories.js @@ -1,4 +1,4 @@ -OCCategories={ +var OCCategories={ edit:function(){ if(OCCategories.app == undefined) { OC.dialogs.alert('OCCategories.app is not set!'); diff --git a/settings/js/users.js b/settings/js/users.js index d0a3c1c21a..20bd94993b 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -4,7 +4,7 @@ * See the COPYING-README file. */ -UserList={ +var UserList={ useUndo:true, /**