From da2dd3bd16aa1011e88b9b3acd66292539747937 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 18 Apr 2016 22:08:41 +0000 Subject: [PATCH] Fix error causing relative columns to have 0 width under some resize conditions --- api/js/etemplate/et2_dataview_model_columns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_dataview_model_columns.js b/api/js/etemplate/et2_dataview_model_columns.js index 3b10489cc6..40b683c607 100755 --- a/api/js/etemplate/et2_dataview_model_columns.js +++ b/api/js/etemplate/et2_dataview_model_columns.js @@ -404,7 +404,7 @@ var et2_dataview_columns = (function(){ "use strict"; return Class.extend({ for(columnIndex = 0; columnIndex < this.columns.length; columnIndex++) { if(this.columns[columnIndex].visibility === ET2_COL_VISIBILITY_INVISIBLE || - col.visibility === ET2_COL_VISIBILITY_DISABLED || + this.columns[columnIndex].visibility === ET2_COL_VISIBILITY_DISABLED || this.columnWidths[columnIndex] <= 0) { continue;