[Vtigercrm-commits] [vtiger-commits] r6430 - /vtigercrm/trunk/modules/Webmails/ListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu May 25 12:39:25 EDT 2006


Author: mmbrich
Date: Thu May 25 10:39:24 2006
New Revision: 6430

Log:
throws exception if not a nested function for timers

Modified:
    vtigercrm/trunk/modules/Webmails/ListView.php

Modified: vtigercrm/trunk/modules/Webmails/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/ListView.php (original)
+++ vtigercrm/trunk/modules/Webmails/ListView.php Thu May 25 10:39:24 2006
@@ -146,7 +146,10 @@
 
 <script type="text/Javascript">
 var box_refresh=<?php echo $box_refresh;?>;
-var timer = addOnloadEvent(window.setTimeout("check_for_new_mail()",box_refresh));
+var timer = addOnloadEvent(function() {
+				window.setTimeout("check_for_new_mail()",box_refresh);
+			}
+		);
 
 var command;
 var id;





More information about the vtigercrm-commits mailing list