mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Filemanager: use pushAvailable() to decide if we need a full refresh after deleting a file
This commit is contained in:
parent
4dffd24feb
commit
0ef6f625b3
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user