From d2fb5d56be2300e9be6c746d277266e2e1934a5e Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 8 Mar 2017 15:11:42 +0100 Subject: [PATCH] Make sure the folder status runs last in jsonq --- mail/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/js/app.js b/mail/js/app.js index 9f2151a45c..418087e972 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -1437,7 +1437,7 @@ app.classes.mail = AppJS.extend( }, /** - * Queues a refreshFolderList request for 10ms. Actually this will just execute the + * Queues a refreshFolderList request for 500ms. Actually this will just execute the * code after the calling script has finished. * * @param {array} _folders description @@ -1449,7 +1449,7 @@ app.classes.mail = AppJS.extend( // are executed last of the queue window.setTimeout(function() { egw.jsonq('mail.mail_ui.ajax_setFolderStatus',[_folders], function (){self.unlock_tree();}); - }, 100); + }, 500); }, /**