Use correct refresh methods for delete so app can handle it

This commit is contained in:
nathangray
2020-01-23 09:21:41 -07:00
parent 2bae92f066
commit ff50df67d0
4 changed files with 29 additions and 4 deletions

View File

@ -152,7 +152,7 @@ var EgwApp = /** @class */ (function () {
EgwApp.prototype.push = function (_type, _app, _id, _data) {
// only handle delete by default, for simple case of uid === "$app::$id"
if (_type === 'delete') {
egw.dataDeleteUID(_app + '::' + _id);
egw(window).refresh('', _app, _id, "delete");
}
};
/**
@ -1636,4 +1636,3 @@ var EgwApp = /** @class */ (function () {
return EgwApp;
}());
exports.EgwApp = EgwApp;
//# sourceMappingURL=egw_app.js.map