pari: branch 2.0 r4331 - /branches/2.0/config/js/welcome2.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Dec 10 11:59:39 CST 2008
Author: pari
Date: Wed Dec 10 11:59:39 2008
New Revision: 4331
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4331
Log:
passing function to setTimeout instead of string
Modified:
branches/2.0/config/js/welcome2.js
Modified: branches/2.0/config/js/welcome2.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/welcome2.js?view=diff&rev=4331&r1=4330&r2=4331
==============================================================================
--- branches/2.0/config/js/welcome2.js (original)
+++ branches/2.0/config/js/welcome2.js Wed Dec 10 11:59:39 2008
@@ -997,7 +997,7 @@
this.innerHTML = new_time;
});
- setTimeout('countHtml()',1000);
+ setTimeout(arguments.callee,1000);
};
var countSecs = function() {
@@ -1009,7 +1009,7 @@
this.innerHTML = parseInt(this.innerHTML, 10)-1;
});
- setTimeout('countSecs()',1000);
+ setTimeout(arguments.callee,1000);
};
var html2secs = function(html) {
More information about the asterisk-gui-commits
mailing list