Fix box autorepeat - only repeat children of type box

This commit is contained in:
Nathan Gray 2013-07-08 19:06:28 +00:00
parent 6091d6eb76
commit 388b0816b7

View File

@ -79,7 +79,7 @@ var et2_box = et2_baseWidget.extend([et2_IDetachedDOM],
// Create the new element, if no expansion needed
var id = et2_readAttrWithDefault(node, "id", "");
if(id.indexOf('$') < 0)
if(id.indexOf('$') < 0 || widgetType != 'box')
{
this.createElementFromNode(node);
childIndex++;