Fix some nextmatch bugs

- Removed rows could still have jQuery actions bound, resulting in errors
- Focused row was not cleared if it was removed, resulting in errors
- Fixed double get_rows call on refresh(..., update)
This commit is contained in:
nathangray
2020-08-08 10:51:39 -06:00
parent 6567e39668
commit 036ec20769
5 changed files with 13 additions and 13 deletions

View File

@ -194,6 +194,12 @@ export class et2_dataview_selectionManager
{
this._inUpdate = true;
// Don't leave focusedEntry
// @ts-ignore
if(this._focusedEntry !== null && this._focusedEntry.uid == _uid)
{
this.setFocused(_uid, false);
}
this._registeredRows[_uid].tr = null;
this._registeredRows[_uid].aoi = null;