]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add 'var' before some global js vars
authorBart Visscher <bartv@thisnet.nl>
Wed, 5 Sep 2012 20:22:04 +0000 (22:22 +0200)
committerBart Visscher <bartv@thisnet.nl>
Wed, 5 Sep 2012 20:26:09 +0000 (22:26 +0200)
core/js/oc-dialogs.js
core/js/oc-vcategories.js
settings/js/users.js

index 0fa41696a164906557f8250de5349608cbfdc0dd..4dd3c89c14dbfb484a49d9c5eaee9d793adb0925 100644 (file)
@@ -22,7 +22,7 @@
 /**
  * this class to ease the usage of jquery dialogs
  */
-OCdialogs = {
+var OCdialogs = {
        /**
        * displays alert dialog
        * @param text content of dialog
index dfed8223b1b791edd69feb36ad747df253bcd9cc..c7b536a2a7d2afb94c26ec28510c16173d6e04bf 100644 (file)
@@ -1,4 +1,4 @@
-OCCategories={
+var OCCategories={
        edit:function(){
                if(OCCategories.app == undefined) {
                        OC.dialogs.alert('OCCategories.app is not set!');
index d0a3c1c21abdb1ef2aa6883dba28b5d3489e676e..20bd94993bce5f309d1df454588dd22a2912efc4 100644 (file)
@@ -4,7 +4,7 @@
  * See the COPYING-README file.
  */
 
-UserList={
+var UserList={
        useUndo:true,
        
        /**