pari: branch 2.0 r4328 - /branches/2.0/config/welcome2.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Dec 10 11:41:47 CST 2008
Author: pari
Date: Wed Dec 10 11:41:47 2008
New Revision: 4328
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4328
Log:
passing a function to setTimeout() instead of string
Modified:
branches/2.0/config/welcome2.html
Modified: branches/2.0/config/welcome2.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/welcome2.html?view=diff&rev=4328&r1=4327&r2=4328
==============================================================================
--- branches/2.0/config/welcome2.html (original)
+++ branches/2.0/config/welcome2.html Wed Dec 10 11:41:47 2008
@@ -465,11 +465,11 @@
}
}));
- setTimeout("loadTrunks()", 1);
+ setTimeout(loadTrunks, 1);
loadExtensions();
- setTimeout("loadQueues()", 1);
- setTimeout("loadConferenceRooms()", 1);
- setTimeout("loadParkingLot()", 1);
+ setTimeout(loadQueues, 1);
+ setTimeout(loadConferenceRooms, 1);
+ setTimeout(loadParkingLot, 1);
/* jQuery Tablesorter init */
/* this requires a rewrite of the loadExtensions and loadTrunks */
@@ -490,8 +490,8 @@
manager_events.watch();
/* countUp and countDown tickers */
- setTimeout('countHtml()',1000);
- setTimeout('countSecs()',1000);
+ setTimeout(countHtml,1000);
+ setTimeout(countSecs,1000);
return;
});
More information about the asterisk-gui-commits
mailing list