From 7ab13f20d84b4dcd4872ff22d2ecd73a59f3b4ae Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 6 Jul 2018 12:20:16 +0200 Subject: [PATCH] Revert attempt to attach ao because it breaks select all actions by keeping previous executed registeredRows and accumulate them for further actions --- 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 c5b3115c2c..277bc929ee 100644 --- a/api/js/etemplate/et2_dataview_controller_selection.js +++ b/api/js/etemplate/et2_dataview_controller_selection.js @@ -425,7 +425,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) @@ -442,7 +442,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) {