forked from extern/egroupware
Etemplate: Fix auto-refresh mixed up new rows
This commit is contained in:
parent
0b0aae31a3
commit
2b12ec47b4
@ -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