mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 00:14:57 +02:00
Fix rows staying after deleting by preventing automatic grid stuff while deleting
This commit is contained in:
@ -753,10 +753,13 @@ var et2_dataview_controller = Class.extend({
|
||||
|
||||
// Delete as many rows as we have left, invalidate the corresponding
|
||||
// index entry
|
||||
for (var i = mapIdx; i < _idxMap.length; i++)
|
||||
for (var i = mapIdx; i < this._grid._map.length; i++)
|
||||
{
|
||||
this._grid.deleteRow(idx);
|
||||
_idxMap[i].uid = null;
|
||||
this._grid.deleteRow(i);
|
||||
if(typeof _idxMap[i] != 'undefined')
|
||||
{
|
||||
_idxMap[i].uid = null;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user