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
|
* this class to ease the usage of jquery dialogs
|
||||||
*/
|
*/
|
||||||
OCdialogs = {
|
var OCdialogs = {
|
||||||
/**
|
/**
|
||||||
* displays alert dialog
|
* displays alert dialog
|
||||||
* @param text content of dialog
|
* @param text content of dialog
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
OCCategories={
|
var OCCategories={
|
||||||
edit:function(){
|
edit:function(){
|
||||||
if(OCCategories.app == undefined) {
|
if(OCCategories.app == undefined) {
|
||||||
OC.dialogs.alert('OCCategories.app is not set!');
|
OC.dialogs.alert('OCCategories.app is not set!');
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* See the COPYING-README file.
|
* See the COPYING-README file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
UserList={
|
var UserList={
|
||||||
useUndo:true,
|
useUndo:true,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue