diff --git a/api/js/etemplate/et2_extension_nextmatch.js b/api/js/etemplate/et2_extension_nextmatch.js index 33a0d9165b..e9affe39a4 100644 --- a/api/js/etemplate/et2_extension_nextmatch.js +++ b/api/js/etemplate/et2_extension_nextmatch.js @@ -601,11 +601,6 @@ 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 && type != et2_nextmatch.UPDATE) { - // return false; - } // No add, do a full refresh if (index === false) { return false; diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 4f560aac1c..21fac86741 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -901,13 +901,6 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2 let index : boolean | number = 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 && type != et2_nextmatch.UPDATE) - { - // return false; - } - // No add, do a full refresh if(index === false) {