mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Etemplate: Fix auto-refresh mixed up new rows
This commit is contained in:
parent
fa80d4c1f9
commit
3b90e1a50d
@ -728,7 +728,7 @@ var et2_dataview_controller = /** @class */ (function () {
|
|||||||
entry.idx = newIdx;
|
entry.idx = newIdx;
|
||||||
newMap[newIdx] = entry;
|
newMap[newIdx] = entry;
|
||||||
}
|
}
|
||||||
else {
|
else if (newMap[newIdx] !== this._indexMap[key]) {
|
||||||
// Make sure the old entry gets invalidated
|
// Make sure the old entry gets invalidated
|
||||||
entry.idx = null;
|
entry.idx = null;
|
||||||
entry.row = null;
|
entry.row = null;
|
||||||
|
@ -1007,7 +1007,7 @@ export class et2_dataview_controller
|
|||||||
entry.idx = newIdx;
|
entry.idx = newIdx;
|
||||||
newMap[newIdx] = entry;
|
newMap[newIdx] = entry;
|
||||||
}
|
}
|
||||||
else
|
else if(newMap[newIdx]!==this._indexMap[key])
|
||||||
{
|
{
|
||||||
// Make sure the old entry gets invalidated
|
// Make sure the old entry gets invalidated
|
||||||
entry.idx = null;
|
entry.idx = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user