espiceland: branch 2.0 r5138 - /branches/2.0/config/js/trunks_voip.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Dec 15 16:38:19 UTC 2010
Author: espiceland
Date: Wed Dec 15 10:38:16 2010
New Revision: 5138
URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=5138
Log:
Reverting this change which should not have been made, as this change in Asterisk will not be going into 1.4.
Modified:
branches/2.0/config/js/trunks_voip.js
Modified: branches/2.0/config/js/trunks_voip.js
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/js/trunks_voip.js?view=diff&rev=5138&r1=5137&r2=5138
==============================================================================
--- branches/2.0/config/js/trunks_voip.js (original)
+++ branches/2.0/config/js/trunks_voip.js Wed Dec 15 10:38:16 2010
@@ -89,7 +89,7 @@
ASTGUI.updateFieldToValue( 'edit_VOIPTrunk_Providername' , getProperty(tinfo, 'trunkname') );
ASTGUI.updateFieldToValue( 'trunk_fromdomain' , getProperty(tinfo, 'fromdomain') );
ASTGUI.updateFieldToValue( 'trunk_fromuser' , getProperty(tinfo, 'fromuser') );
- ASTGUI.updateFieldToValue( 'trunk_authuser' , getProperty(tinfo, 'authuser').split(":")[0] );
+ ASTGUI.updateFieldToValue( 'trunk_authuser' , getProperty(tinfo, 'authuser') );
ASTGUI.updateFieldToValue( 'trunk_insecure' , getProperty(tinfo, 'insecure') );
ASTGUI.updateFieldToValue( 'trunk_outboundproxy' , getProperty(tinfo, 'outboundproxy') );
@@ -271,7 +271,7 @@
var tmp_authuser = ASTGUI.getFieldValue('trunk_authuser');
if( tmp_authuser ){
- x.new_action('update', EDIT_TRUNK , 'authuser', tmp_authuser + ":" + ASTGUI.getFieldValue(DOM_edit_VOIPTrunk_Password));
+ x.new_action('update', EDIT_TRUNK , 'authuser', tmp_authuser );
parent.sessionData.pbxinfo.trunks[ttype][EDIT_TRUNK]['authuser'] = tmp_authuser ;
}else{
if( parent.sessionData.pbxinfo.trunks[ttype][EDIT_TRUNK].hasOwnProperty('authuser') ){
More information about the asterisk-gui-commits
mailing list