diff --git a/etemplate/js/et2_widget_grid.js b/etemplate/js/et2_widget_grid.js index 2383f846aa..ad59ad4f59 100644 --- a/etemplate/js/et2_widget_grid.js +++ b/etemplate/js/et2_widget_grid.js @@ -990,7 +990,18 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM, et2_IAligned, et2_IResize { // apply the ratio _height = (this.options.resize_ratio != '')? _height * this.options.resize_ratio: _height; - if (_height != 0) this.table.height(this.table.height() + _height ); + if (_height != 0) + { + if (this.wrapper) + { + this.wrapper.height(this.wrapper.height() + _height); + } + else + { + this.table.height(this.table.height() + _height ); + } + } + } } });