mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Only do fancy parsing for category tree
This commit is contained in:
parent
2a03b988d2
commit
9181d6c526
@ -174,8 +174,8 @@ var et2_tree = et2_inputWidget.extend({
|
||||
this.createTree(this);
|
||||
}
|
||||
|
||||
// Structure data for tree
|
||||
if(!jQuery.isArray(options)) {
|
||||
// Structure data for category tree
|
||||
if(this._type == 'tree-cat' && !jQuery.isArray(options)) {
|
||||
var data = {id:0,item:[]};
|
||||
var stack = [];
|
||||
for(var key in options)
|
||||
|
Loading…
Reference in New Issue
Block a user