pari: trunk r242 - /trunk/config/sysinfo.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Jan 11 16:13:34 MST 2007


Author: pari
Date: Thu Jan 11 17:13:33 2007
New Revision: 242

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=242
Log:
Select current month and day in sysinfo.html

Modified:
    trunk/config/sysinfo.html

Modified: trunk/config/sysinfo.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/sysinfo.html?view=diff&rev=242&r1=241&r2=242
==============================================================================
--- trunk/config/sysinfo.html (original)
+++ trunk/config/sysinfo.html Thu Jan 11 17:13:33 2007
@@ -155,6 +155,9 @@
 
 function localajaxinit(){
 	// call the tool (sysinfo)
+	var date = new Date() ; 
+	$('log_month').selectedIndex = date.getMonth() ;
+	$('log_day').selectedIndex = date.getDate()  - 1 ;
 	$('status_message').style.display="block";
 	$('message_text').innerHTML = "Loading system Information ...";
 	parent.loadscreen(this);



More information about the asterisk-gui-commits mailing list