From f5f73584451504d36b2612cce7af10ccd3047941 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 17 Jul 2018 14:16:29 +0200 Subject: [PATCH] Apply attach ao patch --- api/js/etemplate/et2_dataview_controller_selection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/et2_dataview_controller_selection.js b/api/js/etemplate/et2_dataview_controller_selection.js index 8caf0ed989..91cb1dae60 100644 --- a/api/js/etemplate/et2_dataview_controller_selection.js +++ b/api/js/etemplate/et2_dataview_controller_selection.js @@ -433,7 +433,7 @@ var et2_dataview_selectionManager = (function(){ "use strict"; return Class.exte // Attach ao if not there, happens for rows loaded for selection, but // not displayed yet -/* if(!_entry.ao && _entry.uid && this._actionObjectManager) + if(!_entry.ao && _entry.uid && this._actionObjectManager) { var _links = []; for (var key in this._registeredRows) @@ -450,7 +450,7 @@ var et2_dataview_selectionManager = (function(){ "use strict"; return Class.exte this._attachActionObject(_entry, null, _entry.uid, _links, _entry.idx); } } -*/ + // Update the state if it has changed if ((_entry.aoi && _entry.aoi.getState() !== _state) || _entry.state != _state) {