bkruse: trunk r1647 - /trunk/config/digital.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Sat Oct 6 18:35:10 CDT 2007


Author: bkruse
Date: Sat Oct  6 18:35:10 2007
New Revision: 1647

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1647
Log:
setting proper values for the span (t1 or e1)

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=1647&r1=1646&r2=1647
==============================================================================
--- trunk/config/digital.html (original)
+++ trunk/config/digital.html Sat Oct  6 18:35:10 2007
@@ -123,7 +123,9 @@
 		newCell2.innerHTML =  SPANS[span]['fac'];
 
 		var newCell3 = newRow.insertCell(3);
-		newCell3.innerHTML = String(SPANS[span]['usedchans']) + "/" + String(SPANS[span]['totchans']);
+		var type = (SPANS[span]['totchans'] <= 24) ? "T1" : "E1";
+		SPANS[span]['type'] = type;
+		newCell3.innerHTML = String(SPANS[span]['usedchans']) + "/" + String(SPANS[span]['totchans']) + " " + type;
 		newCell3.align = "center";
 
 




More information about the asterisk-gui-commits mailing list