From eda4d2a3f6a718af650b150faa005da688dae91f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 10 Oct 2013 12:25:29 +0000 Subject: [PATCH] Some extra resize bits to make sure everything gets resized: - Resize the grid (resizes the column headers) - Re-initialize the dynheight, just in case something changed --- etemplate/js/et2_extension_nextmatch.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 7b8c32be11..41bd8f2134 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -912,7 +912,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], _grid.colData); } } - this.resize(); + this.dataview.table.resize(); }, _getSubgrid: function (_row, _data, _controller) { @@ -1243,6 +1243,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], $j(template.getDOMNode()).on("load", jQuery.proxy(function() { parse.call(this, template); + this.dynheight.initialized = false; this.resize(); }, this) );