diff --git a/etemplate/js/et2_widget_box.js b/etemplate/js/et2_widget_box.js index 0145f76144..866d01b7fa 100644 --- a/etemplate/js/et2_widget_box.js +++ b/etemplate/js/et2_widget_box.js @@ -45,7 +45,7 @@ var et2_box = et2_baseWidget.extend([et2_IDetachedDOM], { getDetachedNodes: function() { - return []; + return [this.getDOMNode()]; }, setDetachedAttributes: function(_nodes, _values) diff --git a/etemplate/js/et2_widget_grid.js b/etemplate/js/et2_widget_grid.js index a030a57056..9ad97359a5 100644 --- a/etemplate/js/et2_widget_grid.js +++ b/etemplate/js/et2_widget_grid.js @@ -610,7 +610,7 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM], { getDetachedNodes: function() { - return []; + return [this.getDOMNode()]; }, setDetachedAttributes: function(_nodes, _values)