pari: trunk r450 - /trunk/config/trunks.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Mar 16 16:54:30 MST 2007


Author: pari
Date: Fri Mar 16 18:54:29 2007
New Revision: 450

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=450
Log:
the field 'port' was missing in fieldnames - and some fields like 'host', 'contact' were repeated. These errors occured because of listing all the fieldnames in random order. So I will be doing one more commit shortly with the fieldnames in all the pages sorted in alphabetical order

Modified:
    trunk/config/trunks.html

Modified: trunk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/trunks.html?view=diff&rev=450&r1=449&r2=450
==============================================================================
--- trunk/config/trunks.html (original)
+++ trunk/config/trunks.html Fri Mar 16 18:54:29 2007
@@ -34,15 +34,13 @@
 	var phonecallbacks = new Object;
 	var providercallbacks = new Object;
 	var globalvars = new Object;
-	var fieldnames = new Array(
-				'delete', 'status', 'new', 'save', 'cancel','secret', 'provider', 'zapchan',
-				'trunkstyleanalog','trunkstylevoip','trunkstylecustomvoip', 'name', 'username', 'trunkname', 'callerid',
-				'hasexten', 'hassip', 'hasiax','registeriax','registersip','host','dialformat','context','group',
-				'insecure', 'host', 'fromuser', 'fromdomain','contact','disallow','allow');
-	var provfieldnames = new Array('providerdesc', 'providerlogo');
-	var focus_fields = new Array('provider','username','secret','customvoip_name','customvoip_protocol',
-	'customvoip_host','customvoip_username','customvoip_secret','fromuser','contact', "insecure", "port", "callerid", "fromdomain", "fromuser", "contact","custom_trunkname");
-
+	var fieldnames =[ 'allow','callerid','cancel','contact','context','delete','dialformat','disallow','fromdomain','fromuser','group','hasexten','hasiax','hassip','host','insecure',
+			'name','new','port','provider','registeriax','registersip','save','secret','status','trunkname','trunkstyleanalog','trunkstylecustomvoip',
+			'trunkstylevoip','username','zapchan'];
+
+	var provfieldnames = ['providerdesc', 'providerlogo'];
+	var focus_fields = ['callerid','contact','custom_trunkname','customvoip_host','customvoip_name','customvoip_protocol','customvoip_secret','customvoip_username',
+			'fromdomain','fromuser','insecure','port','provider','secret','username'] ;
 	var isnewtrunk;
 	var dids_array = [];
 	var old_trunkname;



More information about the asterisk-gui-commits mailing list