From 388b0816b771b8cd786e4060201a6b80156feb9c Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 8 Jul 2013 19:06:28 +0000 Subject: [PATCH] Fix box autorepeat - only repeat children of type box --- etemplate/js/et2_widget_box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_box.js b/etemplate/js/et2_widget_box.js index 16c3a86b17..8a017de00c 100644 --- a/etemplate/js/et2_widget_box.js +++ b/etemplate/js/et2_widget_box.js @@ -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++;