Partially revert 26a6749 as it's been handled elsewhere

(030dafc0a7c9bdc6677afe87fa69615068acb4c0,d525347275a2268ed9624d35ddbd4e43a345179d)
This commit is contained in:
nathangray 2020-08-26 13:47:11 -06:00
parent e0f9d3be6e
commit a013d78947
2 changed files with 0 additions and 12 deletions

View File

@ -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;

View File

@ -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)
{