rbrindley: branch 2.0 r4977 - /branches/2.0/config/js/pbx2.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Aug 7 12:18:19 CDT 2009


Author: rbrindley
Date: Fri Aug  7 12:18:16 2009
New Revision: 4977

URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4977
Log:

- fixed an issue where saving an analog trunk improperly stored dial info


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

Modified: branches/2.0/config/js/pbx2.js
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/js/pbx2.js?view=diff&rev=4977&r1=4976&r2=4977
==============================================================================
--- branches/2.0/config/js/pbx2.js (original)
+++ branches/2.0/config/js/pbx2.js Fri Aug  7 12:18:16 2009
@@ -1359,7 +1359,7 @@
 	ext_conf.new_action('newcat', ct + ASTGUI.contexts.TrunkDefaultSuffix, '', '');
 	ext_conf.new_action('append', ct, 'include', ct + ASTGUI.contexts.TrunkDefaultSuffix);
 	/* not going to work for analog vv */
-	ext_conf.new_action('update', 'globals', name, tech + '/' + name);
+	ext_conf.new_action('update', 'globals', name, tech + '/' + ((type === 'analog')? group : name);
 
 	resp = '';
 	resp = ext_conf.callActions();




More information about the asterisk-gui-commits mailing list