rbrindley: branch 2.0 r4532 - /branches/2.0/config/js/welcome.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Feb 27 11:50:41 CST 2009


Author: rbrindley
Date: Fri Feb 27 11:50:38 2009
New Revision: 4532

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

- edited another place that hardcoded 'zapchan', now uses DahdiChannelString


Modified:
    branches/2.0/config/js/welcome.js

Modified: branches/2.0/config/js/welcome.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/welcome.js?view=diff&rev=4532&r1=4531&r2=4532
==============================================================================
--- branches/2.0/config/js/welcome.js (original)
+++ branches/2.0/config/js/welcome.js Fri Feb 27 11:50:38 2009
@@ -132,8 +132,8 @@
 		} else if ( ud.getProperty('hassip').isAstTrue() ) {
 			tmp_usertype_a.push( ' SIP User' );
 			new_row.addClass('sip');
-		} else if( ud.getProperty('zapchan') ) {
-			tmp_usertype_a.push( 'Analog User (Port ' + ud['zapchan'] + ')' ) ;
+		} else if( ud.getProperty(top.sessionData.DahdiChannelString) ) {
+			tmp_usertype_a.push( 'Analog User (Port ' + ud[top.sessionData.DahdiChannelString] + ')' ) ;
 			new_row.addClass('analog');
 		}
 




More information about the asterisk-gui-commits mailing list