mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 18:31:37 +02:00
Mail: Fix moving folder hangs showing waiting icon
This commit is contained in:
parent
1b827f9f1e
commit
c01b39fe64
@ -3824,10 +3824,10 @@ app.classes.mail = AppJS.extend(
|
|||||||
egw.loading_prompt('mail_moveFolder', true, '', '#egw_fw_basecontainer');
|
egw.loading_prompt('mail_moveFolder', true, '', '#egw_fw_basecontainer');
|
||||||
for (var i = 0; i < _senders.length; i++)
|
for (var i = 0; i < _senders.length; i++)
|
||||||
{
|
{
|
||||||
egw.jsonq('mail.mail_ui.ajax_MoveFolder', [_senders[i].id, destination.id],
|
egw.request('mail.mail_ui.ajax_MoveFolder', [_senders[i].id, destination.id])
|
||||||
// Move is done (successfully or not), remove loading
|
.finally(() =>
|
||||||
function ()
|
|
||||||
{
|
{
|
||||||
|
// Move is done (successfully or not), remove loading
|
||||||
var id = destination.id.split('::');
|
var id = destination.id.split('::');
|
||||||
//refersh the top parent
|
//refersh the top parent
|
||||||
ftree.refreshItem(id[0], null);
|
ftree.refreshItem(id[0], null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user