mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Partially revert 26a6749
as it's been handled elsewhere
(030dafc0a7c9bdc6677afe87fa69615068acb4c0,d525347275a2268ed9624d35ddbd4e43a345179d)
This commit is contained in:
parent
e0f9d3be6e
commit
a013d78947
@ -601,11 +601,6 @@ var et2_nextmatch = /** @class */ (function (_super) {
|
|||||||
if (type === void 0) { type = et2_nextmatch.ADD; }
|
if (type === void 0) { type = et2_nextmatch.ADD; }
|
||||||
var index = egw.preference("lazy-update") == "lazy" ? 0 :
|
var index = egw.preference("lazy-update") == "lazy" ? 0 :
|
||||||
(this.is_sorted_by_modified() ? 0 : false);
|
(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
|
// No add, do a full refresh
|
||||||
if (index === false) {
|
if (index === false) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -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 :
|
let index : boolean | number = egw.preference("lazy-update") == "lazy" ? 0 :
|
||||||
(this.is_sorted_by_modified() ? 0 : false);
|
(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
|
// No add, do a full refresh
|
||||||
if(index === false)
|
if(index === false)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user