mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:57 +01:00
Filemanager: Fix newly created directories don't show up in list
Only seems to affect 23.1 when push is missing
This commit is contained in:
parent
7a2c5f35fd
commit
ebd800082d
@ -823,13 +823,16 @@ export class filemanagerAPP extends EgwApp
|
||||
*/
|
||||
_do_action_callback(_data)
|
||||
{
|
||||
if(_data.action == "delete" && this.egw.pushAvailable())
|
||||
if(typeof _data.action == "undefined") return;
|
||||
if(["delete","createdir"].includes(_data.action) && 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);
|
||||
setTimeout(() => {
|
||||
window.egw_refresh(_data.msg, this.appname, undefined, undefined, undefined, undefined, undefined, _data.type);
|
||||
},1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user