forked from extern/egroupware
Fix update was doing full refresh, changed back to previous behaviour
Left 'update-in-place', as discussed, as it's way more clear what it does.
This commit is contained in:
parent
faed2f97d4
commit
2cf0e7732d
@ -513,11 +513,12 @@ var et2_nextmatch = /** @class */ (function (_super) {
|
||||
id_loop: for (var i = 0; i < _row_ids.length; i++) {
|
||||
var uid = _row_ids[i].toString().indexOf(this.controller.dataStorePrefix) == 0 ? _row_ids[i] : this.controller.dataStorePrefix + "::" + _row_ids[i];
|
||||
switch (_type) {
|
||||
// update-in-place = update, but "update" is too ambiguous
|
||||
case "update-in-place":
|
||||
case "update":
|
||||
this.egw().dataRefreshUID(uid);
|
||||
break;
|
||||
case "edit":
|
||||
case "update":
|
||||
if (!this.refresh_update(uid)) {
|
||||
// Could not update just the row, full refresh has been requested
|
||||
break id_loop;
|
||||
|
@ -787,11 +787,12 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
||||
var uid = _row_ids[i].toString().indexOf(this.controller.dataStorePrefix) == 0 ? _row_ids[i] : this.controller.dataStorePrefix + "::" + _row_ids[i];
|
||||
switch(_type)
|
||||
{
|
||||
// update-in-place = update, but "update" is too ambiguous
|
||||
case "update-in-place":
|
||||
case "update":
|
||||
this.egw().dataRefreshUID(uid);
|
||||
break;
|
||||
case "edit":
|
||||
case "update":
|
||||
if(!this.refresh_update(uid))
|
||||
{
|
||||
// Could not update just the row, full refresh has been requested
|
||||
|
Loading…
Reference in New Issue
Block a user