Make sure the folder status runs last in jsonq

This commit is contained in:
Hadi Nategh 2017-03-08 15:11:42 +01:00
parent c204350173
commit 3f1b384c0b

View File

@ -1344,7 +1344,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
@ -1356,7 +1356,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);
},
/**