rbrindley: branch 2.0 r4705 - /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:29:02 CDT 2009
Author: rbrindley
Date: Thu Apr 2 16:28:59 2009
New Revision: 4705
URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4705
Log:
- lets just use jQuery and do it right.
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=4705&r1=4704&r2=4705
==============================================================================
--- branches/2.0/config/js/trunks_voip.js (original)
+++ branches/2.0/config/js/trunks_voip.js Thu Apr 2 16:28:59 2009
@@ -169,7 +169,7 @@
if( isNewTrunk == true ) {
// New Trunk
- var tcv = DOM_edit_VOIPTrunk_Context_Basis.value; /* How do we assign context name ? */
+ var tcv = $('edit_VOIPTrunk_Context_Basis').val(); /* How do we assign context name ? */
if (tcv == 'FromUser') {
var tmp_ttype = parent.pbx.trunks.getType(DOM_edit_VOIPTrunk_Username.value);
if( tmp_ttype ){
More information about the asterisk-gui-commits
mailing list