From 88df7e232ca3b4593164dda612c6970d1e51f2c8 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 23 May 2012 23:55:01 +0000 Subject: [PATCH] Make sure action object is set before using it --- etemplate/js/et2_dataview_controller_selection.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_dataview_controller_selection.js b/etemplate/js/et2_dataview_controller_selection.js index 410c8c3414..fdea3e68e3 100644 --- a/etemplate/js/et2_dataview_controller_selection.js +++ b/etemplate/js/et2_dataview_controller_selection.js @@ -103,7 +103,8 @@ var et2_dataview_selectionManager = Class.extend({ } // Update the entry - entry.ao._index = entry.idx = _idx; + if(entry.ao) entry.ao._index; + entry.idx = _idx; entry.tr = _tr; // Update the visible state of the _tr