espiceland: branch 2.0 r5084 - /branches/2.0/config/js/trunks_voip.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Mon Sep 20 11:14:10 CDT 2010
Author: espiceland
Date: Mon Sep 20 11:14:06 2010
New Revision: 5084
URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=5084
Log:
Fix bug where lines in users.conf were not deleted when field values were emptied. Fixes ASTGUI-251
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=5084&r1=5083&r2=5084
==============================================================================
--- branches/2.0/config/js/trunks_voip.js (original)
+++ branches/2.0/config/js/trunks_voip.js Mon Sep 20 11:14:06 2010
@@ -254,6 +254,7 @@
}else{
if( parent.sessionData.pbxinfo.trunks[ttype][EDIT_TRUNK].hasOwnProperty('fromdomain') ){
delete parent.sessionData.pbxinfo.trunks[ttype][EDIT_TRUNK]['fromdomain'] ;
+ x.new_action('delete', EDIT_TRUNK , 'fromdomain' );
}
}
@@ -264,6 +265,7 @@
}else{
if( parent.sessionData.pbxinfo.trunks[ttype][EDIT_TRUNK].hasOwnProperty('fromuser') ){
delete parent.sessionData.pbxinfo.trunks[ttype][EDIT_TRUNK]['fromuser'] ;
+ x.new_action('delete', EDIT_TRUNK , 'fromuser' );
}
}
@@ -274,6 +276,7 @@
}else{
if( parent.sessionData.pbxinfo.trunks[ttype][EDIT_TRUNK].hasOwnProperty('authuser') ){
delete parent.sessionData.pbxinfo.trunks[ttype][EDIT_TRUNK]['authuser'] ;
+ x.new_action('delete', EDIT_TRUNK , 'authuser' );
}
}
More information about the asterisk-gui-commits
mailing list