rbrindley: branch 2.0 r4524 - /branches/2.0/config/timeintervals.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Feb 19 13:46:29 CST 2009


Author: rbrindley
Date: Thu Feb 19 13:46:29 2009
New Revision: 4524

URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4524
Log:

- using jQuery's $(document).ready() instead of localajaxinit


Modified:
    branches/2.0/config/timeintervals.html

Modified: branches/2.0/config/timeintervals.html
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/timeintervals.html?view=diff&rev=4524&r1=4523&r2=4524
==============================================================================
--- branches/2.0/config/timeintervals.html (original)
+++ branches/2.0/config/timeintervals.html Thu Feb 19 13:46:29 2009
@@ -179,7 +179,7 @@
 <script src="js/jquery.date_input.js"></script>
 <script src="js/jquery.autocomplete.js"></script>
 <script type="text/javascript">
-var localajaxinit = function(){
+$(document).ready( function() {
 	top.document.title = 'Manage Time Intervals' ;
 	TI_LIST = parent.miscFunctions.getTimeIntervals();
 	ti_miscFunctions.showTable();
@@ -193,7 +193,7 @@
 
 	ASTGUI.events.add( 'ti_type_byGroupofDates', 'click' , function(){ _$('ti_type_byDayofWeek').updateStatus(); } ); 
 	ASTGUI.events.add( 'ti_type_byDayofWeek', 'click' , function(){ _$('ti_type_byGroupofDates').updateStatus(); } );
-};
+});
 </script>
 </body>
 </html>




More information about the asterisk-gui-commits mailing list