From 70b4ff412c33d4ac97cc9ff1020a7a2e3d3be344 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 13 Nov 2013 19:25:10 +0000 Subject: [PATCH] Avoid errors if row_cont is null, just use an empty array --- etemplate/js/et2_core_arrayMgr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_core_arrayMgr.js b/etemplate/js/et2_core_arrayMgr.js index b7608d1f85..642bf71220 100644 --- a/etemplate/js/et2_core_arrayMgr.js +++ b/etemplate/js/et2_core_arrayMgr.js @@ -218,7 +218,7 @@ var et2_arrayMgr = Class.extend( { // Get the content array for the current row var row = this.perspectiveData.row; - var row_cont = this.data[row]; + var row_cont = this.data[row] || {}; var cont = this.getRoot().data; var _cont = this.data;