pari: trunk r218 - in /trunk/config: setup/4.html setup/7.html trunks.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Mon Jan 8 15:48:04 MST 2007


Author: pari
Date: Mon Jan  8 16:48:04 2007
New Revision: 218

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=218
Log:
Fix: Context is not being assigned for trunks created during setup wizard, provider for analog trunks is set to blank instead of iaxtel

Modified:
    trunk/config/setup/4.html
    trunk/config/setup/7.html
    trunk/config/trunks.html

Modified: trunk/config/setup/4.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/setup/4.html?view=diff&rev=218&r1=217&r2=218
==============================================================================
--- trunk/config/setup/4.html (original)
+++ trunk/config/setup/4.html Mon Jan  8 16:48:04 2007
@@ -289,6 +289,7 @@
 							alert("When using Analog, at least one port must be selected.");
 							return true;
 						}
+						$('provider').selectedIndex  = -1;
 						count = 0;
 						$('trunkname').value = "";
 						for (var x=0;x<$('zapchan').options.length;x++) {
@@ -365,6 +366,7 @@
 			tmp.name = 'trunk_' + x;
 		}
 		tmp.fieldbyname['hasexten'] = 'no';
+		tmp.fieldbyname['context'] = 'DID_'+tmp.name;
 		$('customvoip_name').value = "";
 		$('customvoip_username').value = "";
 		$('customvoip_secret').value = "";

Modified: trunk/config/setup/7.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/setup/7.html?view=diff&rev=218&r1=217&r2=218
==============================================================================
--- trunk/config/setup/7.html (original)
+++ trunk/config/setup/7.html Mon Jan  8 16:48:04 2007
@@ -303,7 +303,7 @@
 						</TR>
 						<TR>
 							<TD>Password:</TD>
-							<TD><input size='5' id='secret' pattern='^\d*$'  class="input8"></TD>
+							<TD><input size='5' id='secret' pattern='^[a-zA-Z_0-9 ]*$'  class="input8"></TD>
 							<TD>Email:</TD>
 							<TD><input size='20' id='email' pattern='^[0-9a-zA-Z\.\-\_\@]*$' class="input8"></TD>
 						</TR>

Modified: trunk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/trunks.html?view=diff&rev=218&r1=217&r2=218
==============================================================================
--- trunk/config/trunks.html (original)
+++ trunk/config/trunks.html Mon Jan  8 16:48:04 2007
@@ -260,6 +260,7 @@
 							alert("When using Analog, at least one port must be selected.");
 							return true;
 						}
+						$('provider').selectedIndex  = -1;
 						count = 0;
 						$('trunkname').value = "";
 						for (var x=0;x<$('zapchan').options.length;x++) {



More information about the asterisk-gui-commits mailing list