mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:45 +01:00
fixed id check, causig it not to use options given for id=0
This commit is contained in:
parent
410abc5fb7
commit
85a198d9e6
@ -268,7 +268,7 @@ var et2_tree = et2_inputWidget.extend(
|
|||||||
options = data;
|
options = data;
|
||||||
}
|
}
|
||||||
// if no options given, but autoloading url, use that to load initial nodes
|
// if no options given, but autoloading url, use that to load initial nodes
|
||||||
if (!options.id && this.input.XMLsource)
|
if (typeof options.id == 'undefined' && this.input.XMLsource)
|
||||||
this.input.loadJSON(this.input.XMLsource);
|
this.input.loadJSON(this.input.XMLsource);
|
||||||
else
|
else
|
||||||
this.input.loadJSONObject(options);
|
this.input.loadJSONObject(options);
|
||||||
|
Loading…
Reference in New Issue
Block a user