Add a check for select_all action, and use it if there.

Fixes Ctrl+A only selected visible nextmatch rows.
This commit is contained in:
Nathan Gray 2014-02-27 23:06:27 +00:00
parent b1040d48ae
commit 3b15036ce8

View File

@ -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);
};