[Vtigercrm-commits] [vtiger-commits] r6629 - /vtigercrm/trunk/modules/Webmails/webmails.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 28 11:36:35 EDT 2006
Author: mmbrich
Date: Sun May 28 09:36:35 2006
New Revision: 6629
Log:
fixed race condition caused when the folder search happened before the check_mail search
Modified:
vtigercrm/trunk/modules/Webmails/webmails.js
Modified: vtigercrm/trunk/modules/Webmails/webmails.js
==============================================================================
--- vtigercrm/trunk/modules/Webmails/webmails.js (original)
+++ vtigercrm/trunk/modules/Webmails/webmails.js Sun May 28 09:36:35 2006
@@ -246,17 +246,15 @@
new Effect.Appear("row_"+mailid);
}
}catch(e) {}
+ window.setTimeout("check_in_all_boxes('"+mailbox+"')",0);
$("status").style.display="none";
}
}
);
}
function periodic_event() {
- try {
check_for_new_mail(mailbox);
- check_in_all_boxes(mailbox);
window.setTimeout("periodic_event()",box_refresh);
- }catch(e){alert(e);}
}
function show_hidden() {
if(degraded_service == 'true') {
More information about the vtigercrm-commits
mailing list