mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
When nm loads data, make sure selection is still shown
This commit is contained in:
parent
5c71e6916e
commit
6f124f4b10
@ -360,8 +360,6 @@ var et2_dataview_selectionManager = Class.extend(
|
||||
|
||||
_updateEntryState: function (_entry, _state) {
|
||||
|
||||
// Update the state of the entry
|
||||
_entry.state = _state;
|
||||
|
||||
if (this._invertSelection)
|
||||
{
|
||||
@ -373,12 +371,6 @@ var et2_dataview_selectionManager = Class.extend(
|
||||
{
|
||||
this._inUpdate = true; // Recursion prevention
|
||||
|
||||
// Update the visual state
|
||||
if (_entry.aoi)
|
||||
{
|
||||
_entry.aoi.setState(_state);
|
||||
}
|
||||
|
||||
// Update the state of the action object
|
||||
if (_entry.ao)
|
||||
{
|
||||
@ -395,6 +387,15 @@ var et2_dataview_selectionManager = Class.extend(
|
||||
delete this._registeredRows[_entry.uid];
|
||||
}
|
||||
}
|
||||
|
||||
// Update the visual state
|
||||
if (_entry.aoi && _entry.aoi.doSetState)
|
||||
{
|
||||
_entry.aoi.doSetState(_state);
|
||||
}
|
||||
|
||||
// Update the state of the entry
|
||||
_entry.state = _state;
|
||||
},
|
||||
|
||||
_getRegisteredRowsEntry: function (_uid) {
|
||||
|
Loading…
Reference in New Issue
Block a user