diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-05 22:22:04 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-05 22:26:09 +0200 |
commit | a8de0af2732020e9f9d60dcf6a4571fe62e242de (patch) | |
tree | cd51021fc53f445cbb532dda49f8bff210428000 | |
parent | 9329af921d6d9bf7861fe9f996562f17beecf6a2 (diff) | |
download | nextcloud-server-a8de0af2732020e9f9d60dcf6a4571fe62e242de.tar.gz nextcloud-server-a8de0af2732020e9f9d60dcf6a4571fe62e242de.zip |
Add 'var' before some global js vars
-rw-r--r-- | core/js/oc-dialogs.js | 2 | ||||
-rw-r--r-- | core/js/oc-vcategories.js | 2 | ||||
-rw-r--r-- | settings/js/users.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 0fa41696a16..4dd3c89c14d 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 dfed8223b1b..c7b536a2a7d 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 d0a3c1c21ab..20bd94993bc 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, /** |