pari: branch pari/dahdi_support r4455 - /team/pari/dahdi_support/config/js/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Jan 20 12:16:49 CST 2009


Author: pari
Date: Tue Jan 20 12:16:49 2009
New Revision: 4455

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

 Use dahdichan or zapchan while listing ports



Modified:
    team/pari/dahdi_support/config/js/welcome.js

Modified: team/pari/dahdi_support/config/js/welcome.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/pari/dahdi_support/config/js/welcome.js?view=diff&rev=4455&r1=4454&r2=4455
==============================================================================
--- team/pari/dahdi_support/config/js/welcome.js (original)
+++ team/pari/dahdi_support/config/js/welcome.js Tue Jan 20 12:16:49 2009
@@ -92,7 +92,8 @@
 		addCell( newRow , { html:'' });
 		addCell( newRow , { html: c[d]['trunkname'] });
 		addCell( newRow , { html: 'Digital (' + c[d]['signalling'] + ')' }); // 
-		addCell( newRow , { html: 'Ports: ' + c[d]['zapchan'] });
+		var tmp_channels = c[d]['dahdichan'] || c[d]['zapchan'] || ' ' ;
+		addCell( newRow , { html: 'Ports: ' + tmp_channels });
 		addCell( newRow , { html:''} );
 	}}
 




More information about the asterisk-gui-commits mailing list