From daf55af475aafbe90b6dc768e5b41297b377325f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 9 Oct 2013 14:05:05 +0000 Subject: [PATCH] Don't try to resize if the columns are not set yet - there's nothing to resize --- etemplate/js/et2_dataview.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etemplate/js/et2_dataview.js b/etemplate/js/et2_dataview.js index 457e58507a..e17d47339a 100644 --- a/etemplate/js/et2_dataview.js +++ b/etemplate/js/et2_dataview.js @@ -156,6 +156,9 @@ var et2_dataview = Class.extend({ * Resizes the grid */ resize: function(_w, _h) { + // Not fully initialized yet... + if (!this.columnMgr) return; + if (this.width != _w) { this.width = _w;