Use the widget type to prevent infinitely creating the same thing

This commit is contained in:
Nathan Gray 2012-04-30 23:25:42 +00:00
parent 56c9f5bcea
commit 4684f25530

View File

@ -1546,6 +1546,8 @@ var et2_nextmatch_customfilter = et2_nextmatch_filterheader.extend({
case "link-entry":
_attrs.type = 'nextmatch-entryheader';
break;
default:
_attrs.type = _attrs.widget_type;
}
this.real_node = et2_createWidget(_attrs.type, _attrs, this._parent);
},