mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
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);
|
(this.is_sorted_by_modified() ? 0 : false);
|
||||||
// workaround for datagrid deleting the last row, see ticket #48204
|
// workaround for datagrid deleting the last row, see ticket #48204
|
||||||
// if we only have a couple of rows, do a full refresh instead
|
// 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;
|
return false;
|
||||||
}
|
}
|
||||||
// No add, do a full refresh
|
// 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
|
// workaround for datagrid deleting the last row, see ticket #48204
|
||||||
// if we only have a couple of rows, do a full refresh instead
|
// 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user