mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
* All apps: fix last rows was removed when adding new entry to list with only a couple of rows
see ticket #48204, we do a full refresh now to work around this issue until we have a real fix
This commit is contained in:
@@ -595,6 +595,11 @@ var et2_nextmatch = /** @class */ (function (_super) {
|
||||
if (type === void 0) { type = et2_nextmatch.ADD; }
|
||||
var index = egw.preference("lazy-update") == "lazy" ? 0 :
|
||||
(this.is_sorted_by_modified() ? 0 : false);
|
||||
// workaround for datagrid deleting the last row, see ticket #48204
|
||||
// if we only have a couple of rows, do a full refresh instead
|
||||
if (this.controller.getTotalCount() < 15) {
|
||||
return false;
|
||||
}
|
||||
// No add, do a full refresh
|
||||
if (index === false) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user