mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +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) {
|
_updateEntryState: function (_entry, _state) {
|
||||||
|
|
||||||
// Update the state of the entry
|
|
||||||
_entry.state = _state;
|
|
||||||
|
|
||||||
if (this._invertSelection)
|
if (this._invertSelection)
|
||||||
{
|
{
|
||||||
@ -373,12 +371,6 @@ var et2_dataview_selectionManager = Class.extend(
|
|||||||
{
|
{
|
||||||
this._inUpdate = true; // Recursion prevention
|
this._inUpdate = true; // Recursion prevention
|
||||||
|
|
||||||
// Update the visual state
|
|
||||||
if (_entry.aoi)
|
|
||||||
{
|
|
||||||
_entry.aoi.setState(_state);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update the state of the action object
|
// Update the state of the action object
|
||||||
if (_entry.ao)
|
if (_entry.ao)
|
||||||
{
|
{
|
||||||
@ -395,6 +387,15 @@ var et2_dataview_selectionManager = Class.extend(
|
|||||||
delete this._registeredRows[_entry.uid];
|
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) {
|
_getRegisteredRowsEntry: function (_uid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user