rbrindley: branch 2.0 r4703 - /branches/2.0/config/js/trunks_voip.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Apr 2 16:20:06 CDT 2009


Author: rbrindley
Date: Thu Apr  2 16:20:02 2009
New Revision: 4703

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

- lets use tcv instead of trying to get the html field value again


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

Modified: branches/2.0/config/js/trunks_voip.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/trunks_voip.js?view=diff&rev=4703&r1=4702&r2=4703
==============================================================================
--- branches/2.0/config/js/trunks_voip.js (original)
+++ branches/2.0/config/js/trunks_voip.js Thu Apr  2 16:20:02 2009
@@ -200,9 +200,9 @@
 		};
 
 		if (ttv =='SIP') { 
-			var retval = parent.pbx.trunks.add('sip', trp, cbf, DOM_edit_VOIPTrunk_Context_Basis.value);
+			var retval = parent.pbx.trunks.add('sip', trp, cbf, tcv);
 		} else if (ttv =='IAX') { 
-			var retval = parent.pbx.trunks.add('iax', trp, cbf, DOM_edit_VOIPTrunk_Context_Basis.value);
+			var retval = parent.pbx.trunks.add('iax', trp, cbf, tcv);
 		}
 
 		if (retval) {




More information about the asterisk-gui-commits mailing list