From 3b15036ce8dd6ba8f7ae4fccf0319f0bb86108c1 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 27 Feb 2014 23:06:27 +0000 Subject: [PATCH] Add a check for select_all action, and use it if there. Fixes Ctrl+A only selected visible nextmatch rows. --- phpgwapi/js/egw_action/egw_action.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpgwapi/js/egw_action/egw_action.js b/phpgwapi/js/egw_action/egw_action.js index a6098af303..c8159e5dc2 100644 --- a/phpgwapi/js/egw_action/egw_action.js +++ b/phpgwapi/js/egw_action/egw_action.js @@ -1251,6 +1251,11 @@ egwActionObject.prototype.toggleAllSelected = function(_select) _select = !this.getAllSelected(); } + // Check for a select_all action + if(_select && this.manager && this.manager.getActionById('select_all')) + { + return this.manager.getActionById('select_all').execute(this); + } this.setAllSelected(_select); };