Add 'var' before some global js vars
This commit is contained in:
parent
9329af921d
commit
a8de0af273
|
@ -22,7 +22,7 @@
|
|||
/**
|
||||
* this class to ease the usage of jquery dialogs
|
||||
*/
|
||||
OCdialogs = {
|
||||
var OCdialogs = {
|
||||
/**
|
||||
* displays alert dialog
|
||||
* @param text content of dialog
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
OCCategories={
|
||||
var OCCategories={
|
||||
edit:function(){
|
||||
if(OCCategories.app == undefined) {
|
||||
OC.dialogs.alert('OCCategories.app is not set!');
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
UserList={
|
||||
var UserList={
|
||||
useUndo:true,
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue