mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Fix Select All sometimes misses rows if there's between 50 and 1000 and you scroll down
This commit is contained in:
parent
7089489db9
commit
78752738d2
@ -355,6 +355,12 @@ var et2_dataview_selectionManager = (function(){ "use strict"; return Class.exte
|
||||
// Create an action object for the tr and connect it to a dummy AOI
|
||||
if(this._actionObjectManager)
|
||||
{
|
||||
if(this._actionObjectManager.getObjectById(_uid))
|
||||
{
|
||||
var state = _entry.state;
|
||||
this._actionObjectManager.getObjectById(_uid).remove();
|
||||
_entry.state = state;
|
||||
}
|
||||
_entry.ao = this._actionObjectManager.addObject(_uid, dummyAOI);
|
||||
}
|
||||
|
||||
@ -656,7 +662,9 @@ var et2_dataview_selectionManager = (function(){ "use strict"; return Class.exte
|
||||
var data = egw.dataGetUIDdata(_order[j]);
|
||||
if(!data || data && data.data && !data.data.no_actions)
|
||||
{
|
||||
this.setSelected(_order[j], true);
|
||||
var entry = this._getRegisteredRowsEntry(_order[j]);
|
||||
this._updateEntryState(entry,
|
||||
egwSetBit(entry.state, EGW_AO_STATE_SELECTED, true));
|
||||
}
|
||||
}
|
||||
progressbar.set_value(100*(++range_index/range_count));
|
||||
|
Loading…
Reference in New Issue
Block a user