pari: trunk r1662 - /trunk/config/digital.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Oct 9 16:47:09 CDT 2007


Author: pari
Date: Tue Oct  9 16:47:07 2007
New Revision: 1662

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1662
Log:
update SPANS object when a SPAN values are edited

Modified:
    trunk/config/digital.html

Modified: trunk/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/digital.html?view=diff&rev=1662&r1=1661&r2=1662
==============================================================================
--- trunk/config/digital.html (original)
+++ trunk/config/digital.html Tue Oct  9 16:47:07 2007
@@ -331,6 +331,19 @@
 	return true;
 }
 
+
+
+function updateSpanInfo(){
+	var b = String( document.getElementById('mymenu').span_value );
+	SPANS[b]['fac'] = _$('editspan_fac').value;
+	SPANS[b]['signalling'] = _$('editspan_signalling').value;
+	SPANS[b]['syncsrc'] = _$('editspan_syncsrc').value;
+	SPANS[b]['lbo'] = _$('editspan_lbo').value;
+	//SPANS[b]['loadzone'] = _$('editspan_loadzone').value;
+	canelSpanInfo();
+}
+
+
 </script>
 <body onload="localajaxinit()" onunload="resetmainscreen()"  bgcolor="#EFEFEF">
 
@@ -430,14 +443,14 @@
 		</TD>
 	</TR>
 	<TR>	<TD align="right">Sync/Clock Source</TD>
-		<TD>	<select id="editspan_syncsource">
+		<TD>	<select id="editspan_syncsrc">
 				<option value="0">Master (0) (Set Timing)</option>
 				<option value="1">Slave (1) (Take Timing)</option>
 			</select>
 		</TD>
 	</TR>
 	<TR>	<TD align="right">Line Build Out</TD>
-		<TD>	<select id="editspan_linebuildout">
+		<TD>	<select id="editspan_lbo">
 				<option value="0">0 db (CSU)/0-133 feet (DSX-1)</option>
 				<option value="1">133-266 feet (DSX-1)</option>
 				<option value="2">266-399 feet (DSX-1)</option>




More information about the asterisk-gui-commits mailing list