mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Unlock mail folder tree after setFolderStatus operation is finished
This commit is contained in:
parent
1d8c630a17
commit
449dea5553
@ -1132,10 +1132,11 @@ app.classes.mail = AppJS.extend(
|
||||
*/
|
||||
mail_queueRefreshFolderList: function(_folders)
|
||||
{
|
||||
var self = this;
|
||||
// as jsonq is too fast wrap it to be delayed a bit, to ensure the folder actions
|
||||
// are executed last of the queue
|
||||
window.setTimeout(function() {
|
||||
egw.jsonq('mail.mail_ui.ajax_setFolderStatus',[_folders]);
|
||||
egw.jsonq('mail.mail_ui.ajax_setFolderStatus',[_folders], function (){self.unlock_tree()});
|
||||
}, 100);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user