moved all confirmation to api egw_actions and changed select_all to depend on all visible rows selected (Ctrl-A)

This commit is contained in:
Ralf Becker
2013-10-03 15:30:27 +00:00
parent d7f37f5c2d
commit dad39e1d8a
4 changed files with 18 additions and 32 deletions

View File

@ -225,8 +225,11 @@ var et2_dataview_selectionManager = Class.extend(
}
// Return an array containing those ids
// RB: we are currently NOT using "inverted" (selectAll is not bound/called),
// but an all attribute comming from objectManager, if Ctrl-A was pressed and nothing deselected later
return {
"inverted": this._invertSelection,
//"inverted": this._invertSelection,
"all": this._actionObjectManager.getAllSelected(),
"ids": ids
};
},