mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 00:14:57 +02:00
Fix removing (delete) a row from nextmatch
- Fix broken destroy callback - Fix caching & actions to be removed - Fix always removing the last row also - Fix indexing so arrow keys work over sparse indexMap
This commit is contained in:
@ -568,7 +568,10 @@ var et2_dataview_controller = Class.extend({
|
||||
// If there's no data, stop
|
||||
if(typeof _data == "undefined" || _data == null)
|
||||
{
|
||||
this._destroyCallback();
|
||||
this.self._destroyCallback.call(
|
||||
this,
|
||||
this.entry.row
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -632,6 +635,7 @@ var et2_dataview_controller = Class.extend({
|
||||
if (this.entry.row)
|
||||
{
|
||||
var tr = this.entry.row.getDOMNode();
|
||||
this.self._selectionMgr._updateState(this.entry.uid, EGW_AO_STATE_NORMAL)
|
||||
this.self._selectionMgr.unregisterRow(this.entry.uid, tr);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user