mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
Keep selection manager's index map set on reset
This commit is contained in:
parent
9c3ff2182e
commit
3b04c84f61
@ -147,7 +147,7 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
|
|||||||
|
|
||||||
// Free selection manager
|
// Free selection manager
|
||||||
this._selectionMgr.clear();
|
this._selectionMgr.clear();
|
||||||
|
|
||||||
// Clear object manager
|
// Clear object manager
|
||||||
this._objectManager.clear();
|
this._objectManager.clear();
|
||||||
|
|
||||||
@ -184,6 +184,8 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
|
|||||||
reset: function () {
|
reset: function () {
|
||||||
// Throw away all internal mappings and reset the timestamp
|
// Throw away all internal mappings and reset the timestamp
|
||||||
this._indexMap = {};
|
this._indexMap = {};
|
||||||
|
// Update selection manager, it uses this by reference
|
||||||
|
this._selectionMgr.setIndexMap(this._indexMap);
|
||||||
|
|
||||||
// Clear the grid
|
// Clear the grid
|
||||||
this._grid.clear();
|
this._grid.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user