forked from extern/egroupware
Make commit 26a6749b3d
condition available only for refresh add
This commit is contained in:
parent
6b910cc5fe
commit
d48efdedd8
@ -597,7 +597,7 @@ var et2_nextmatch = /** @class */ (function (_super) {
|
||||
(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) {
|
||||
if (this.controller.getTotalCount() < 15 && type != et2_nextmatch.UPDATE) {
|
||||
return false;
|
||||
}
|
||||
// No add, do a full refresh
|
||||
|
@ -894,7 +894,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
||||
|
||||
// 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)
|
||||
if (this.controller.getTotalCount() < 15 && type != et2_nextmatch.UPDATE)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user