forked from extern/egroupware
Use the widget type to prevent infinitely creating the same thing
This commit is contained in:
parent
56c9f5bcea
commit
4684f25530
@ -1546,6 +1546,8 @@ var et2_nextmatch_customfilter = et2_nextmatch_filterheader.extend({
|
|||||||
case "link-entry":
|
case "link-entry":
|
||||||
_attrs.type = 'nextmatch-entryheader';
|
_attrs.type = 'nextmatch-entryheader';
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
_attrs.type = _attrs.widget_type;
|
||||||
}
|
}
|
||||||
this.real_node = et2_createWidget(_attrs.type, _attrs, this._parent);
|
this.real_node = et2_createWidget(_attrs.type, _attrs, this._parent);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user