bkruse: branch asterisknow r1639 - in /branches/asterisknow: ./ config/ scripts/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Oct 5 12:37:20 CDT 2007


Author: bkruse
Date: Fri Oct  5 12:37:20 2007
New Revision: 1639

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1639
Log:
Merged revisions 1637 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/branches/1.4

........
r1637 | bkruse | 2007-10-05 12:35:13 -0500 (Fri, 05 Oct 2007) | 1 line

Pari is rewriting the digital page, so I figured i would give him what I have so far...
........

Added:
    branches/asterisknow/scripts/editzap.sh
      - copied unchanged from r1637, branches/1.4/scripts/editzap.sh
Modified:
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/digital.html

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: branches/asterisknow/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/digital.html?view=diff&rev=1639&r1=1638&r2=1639
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Fri Oct  5 12:37:20 2007
@@ -135,6 +135,7 @@
 var widgets = {};
 var zap_settings = [ 'switchtype', 'signalling', 'echocancel', 'echocancelwhenbridged', 'rxgain', 'txgain', 'group' ]; 
 var fieldnames_clickable = [ 'fac', 'lbo', 'syncsrc', 'totchans' ]; 
+var fieldnames_clickable_zap = [ 'fac', 'syncsrc', 'totchans' ]; 
 var fieldnames = [ 'alarms', 'syncsrc', 'description', 'totchans', 'fac', 'lbo' ]; 
 var fieldnames_proper = [ 'Alarms:', 'Sync Source:', 'Card Description:', 'Total Channels:', 'Framing/Coding:', 'Options:' ]; 
 var fieldnames_zap_opts = [ 'loadzone', 'defaultzone'];
@@ -409,10 +410,10 @@
 	for(var i=1; i <= total_spans; i++ ){
 		ZAPTEL[i] = new Object;
 		ZAPTEL[i].en = new Array;
-		for(var x=0; x < fieldnames_clickable.length; x++) {
-			var tmp_id = i+'-'+fieldnames_clickable[x]+'-sel';
+		for(var x=0; x < fieldnames_clickable_zap.length; x++) {
+			var tmp_id = i+'-'+fieldnames_clickable_zap[x]+'-sel';
 			var tmp_b = _$(tmp_id);
-			ZAPTEL[i].en[fieldnames_clickable[x]] = tmp_b.options[tmp_b.selectedIndex].value;
+			ZAPTEL[i].en[fieldnames_clickable_zap[x]] = tmp_b.options[tmp_b.selectedIndex].value;
 		//	alert("showing val for span " + i + " for val: " + fieldnames_clickable[x] + " is : " + ZAPTEL[i].en[fieldnames_clickable[x]]);
 		}
 		ZAPTEL[i].en['config'] = "span="+i+","+ZAPTEL[i].en['syncsrc']+","+ZAPTEL[i].en['lbo']+","+ZAPTEL[i].en['fac'];




More information about the asterisk-gui-commits mailing list