Don't keep selection if it is not returned after an update.

Fixes IDs stay after entry is changed to not match the current filters.
This commit is contained in:
Nathan Gray
2015-04-16 15:17:29 +00:00
parent 4c7dc4d6dd
commit 6db6e1736b
2 changed files with 7 additions and 2 deletions

View File

@ -98,6 +98,7 @@ var et2_dataview_selectionManager = Class.extend(
for (var key in this._registeredRows)
{
this.unregisterRow(key, this._registeredRows[key].tr);
delete this._registeredRows[key];
}
this._indexMap = {};
this._total = 0;