Filemanager: use pushAvailable() to decide if we need a full refresh after deleting a file

This commit is contained in:
nathan 2022-11-08 11:54:22 -07:00
parent 4dffd24feb
commit 0ef6f625b3

View File

@ -822,6 +822,12 @@ export class filemanagerAPP extends EgwApp
*/
_do_action_callback(_data)
{
if(_data.action == "delete" && this.egw.pushAvailable())
{
// No need to refresh, push will handle it
this.egw.message(_data.msg)
return;
}
window.egw_refresh(_data.msg, this.appname, undefined, undefined, undefined, undefined, undefined, _data.type);
}