pari: trunk r75 - /trunk/config/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Oct 17 09:08:53 MST 2006


Author: pari
Date: Tue Oct 17 11:08:52 2006
New Revision: 75

URL: http://svn.digium.com/view/asterisk-gui?rev=75&view=rev
Log:
replaced 'for (x in ..)' with 'for(x=0; x< ...)' in all files

Modified:
    trunk/config/cfgadvanced.html
    trunk/config/cfgappliance.html
    trunk/config/cfgbasic.html
    trunk/config/extensions.html
    trunk/config/iax.html
    trunk/config/jabber.html
    trunk/config/jingle.html
    trunk/config/meetme.html
    trunk/config/moh.html
    trunk/config/networking.html
    trunk/config/options.html
    trunk/config/queues.html
    trunk/config/sip_general.html
    trunk/config/trunks.html
    trunk/config/voicemail.html
    trunk/config/zapata.html

Modified: trunk/config/cfgadvanced.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgadvanced.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/cfgadvanced.html (original)
+++ trunk/config/cfgadvanced.html Tue Oct 17 11:08:52 2006
@@ -78,8 +78,8 @@
 		new PanelDef("menus", "Voice Menus", "accordion-icon.gif",
 			"Menus allow for more efficient routing of calls from incoming callers."),
 
-		new PanelDef("record_vmenu", "Record a Menu", "accordion-icon.gif",
-			"Allows you to record custom voicemenus over a phone"),
+//		new PanelDef("record_vmenu", "Record a Menu", "accordion-icon.gif",
+//			"Allows you to record custom voicemenus over a phone"),
 
 		new PanelDef("moh", "Music On Hold", "accordion-icon.gif", " Music on hold sometimes keeps people less angry while they wait for an answer"),
 

Modified: trunk/config/cfgappliance.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgappliance.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/cfgappliance.html (original)
+++ trunk/config/cfgappliance.html Tue Oct 17 11:08:52 2006
@@ -80,6 +80,9 @@
 
 		new PanelDef("menus", "Voice Menus", "accordion-icon.gif",
 			"Menus allow for more efficient routing of calls from incoming callers."),
+
+//		new PanelDef("record_vmenu", "Record a Menu", "accordion-icon.gif",
+//			"Allows you to record custom voicemenus over a phone"),
 
 		new PanelDef("status", "Status", "accordion-icon.gif", "Monitor active channels."),
 

Modified: trunk/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgbasic.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/cfgbasic.html (original)
+++ trunk/config/cfgbasic.html Tue Oct 17 11:08:52 2006
@@ -81,8 +81,8 @@
 		new PanelDef("menus", "Voice Menus", "accordion-icon.gif",
 			"Menus allow for more efficient routing of calls from incoming callers."),
 
-		new PanelDef("record_vmenu", "Record a Menu", "accordion-icon.gif",
-			"Allows you to record custom voicemenus over a phone"),
+//		new PanelDef("record_vmenu", "Record a Menu", "accordion-icon.gif",
+//			"Allows you to record custom voicemenus over a phone"),
 		
 		new PanelDef("status", "Status", "accordion-icon.gif", "Monitor active channels."),
 

Modified: trunk/config/extensions.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/extensions.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/extensions.html (original)
+++ trunk/config/extensions.html Tue Oct 17 11:08:52 2006
@@ -113,7 +113,7 @@
 		$('advancedi').style.width = $('split').width - 60;
 		adstatus = "hidden";
 		$('extensions').contentEditable = 'false';
-		for (var x in fieldnames) {
+		for (var x =0; x < fieldnames.length; x++ ) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);
 			widgets[fieldnames[x]].disabled = true;
 		}

Modified: trunk/config/iax.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/iax.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/iax.html (original)
+++ trunk/config/iax.html Tue Oct 17 11:08:52 2006
@@ -52,7 +52,7 @@
 
 function localajaxinit(){
 	parent.loadscreen(this);
-		for (var x in fieldnames) {
+		for (var x =0; x< fieldnames.length; x++ ) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);
 			widgets[fieldnames[x]].disabled = true;
 		}

Modified: trunk/config/jabber.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/jabber.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/jabber.html (original)
+++ trunk/config/jabber.html Tue Oct 17 11:08:52 2006
@@ -54,7 +54,7 @@
 function localajaxinit() {
 		// Load the jabber.conf->users into the Users, associate the field to other fields
 		parent.loadscreen(this);
-		for (var x in fieldnames) {
+		for (var x =0; x < fieldnames; x++) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);
 			widgets[fieldnames[x]].disabled = true;
 		}

Modified: trunk/config/jingle.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/jingle.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/jingle.html (original)
+++ trunk/config/jingle.html Tue Oct 17 11:08:52 2006
@@ -86,6 +86,8 @@
 
 
 function update_ordercodecs(){
+			$('disallow').value = "";
+			$('allow').value = "";
 			if($('disallow_all').checked){
 					$('disallow').value = "all";
 			}else{

Modified: trunk/config/meetme.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/meetme.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/meetme.html (original)
+++ trunk/config/meetme.html Tue Oct 17 11:08:52 2006
@@ -193,7 +193,7 @@
 		$('advancedi').style.width = $('split').width - 60;
 		adstatus = "hidden";
 		$('extensions').contentEditable = 'false';
-		for (var x in fieldnames) {
+		for (var x =0; x < fieldnames.length; x++) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);
 			widgets[fieldnames[x]].disabled = true;
 		}

Modified: trunk/config/moh.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/moh.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/moh.html (original)
+++ trunk/config/moh.html Tue Oct 17 11:08:52 2006
@@ -75,12 +75,12 @@
 		<table cellspacing='0' cellpadding='0'>
 			<tr valign="top"><td>
 				<table>
-						<tr><td>Class:</td>						<td><input size='12' id='name'></td></tr>
-						<tr><td>Mode:</td>						<td><input size='20' id='mode'></td></tr>
-						<tr><td>Directory:</td>		<td><input size='12' id='directory'></td></tr>
-						<tr><td>Application:</td>		<td><input size='12' id='application'></td></tr>
-						<tr><td>Format:</td>		<td><input size='12' id='format'></td></tr>
-						<tr><td>Random:</td>		<td><input size='12' id='random'></td></tr>
+						<tr><td>Class:</td>						<td>&nbsp;<input size='12' id='name'></td></tr>
+						<tr><td>Mode:</td>						<td>&nbsp;<select id='mode'><option value="quietmp3">mp3 (Quiet)</option><option value="mp3">mp3 (Loud)</option><option value="mp3nb">mp3 (Unbuffered)</option><option value="quietmp3nb ">mp3 (Quiet Unbuffered)</option><option value="custom">Custom</option><option value="files">files</option></select></td></tr>
+						<tr><td>Directory:</td>					<td>&nbsp;<input size='20' id='directory'></td></tr>
+						<tr><td>Application:</td>				<td>&nbsp;<input size='25' id='application'></td></tr>
+						<tr><td>Format:</td>					<td>&nbsp;<input size='12' id='format'></td></tr>
+						<tr><td>Random:</td>					<td><input type=checkbox id='random'></td></tr>
 						<tr><td colspan='2' align='center'><div style="height:15px" id='status'></div></td></tr>
 				</table>
 			</td>

Modified: trunk/config/networking.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/networking.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/networking.html (original)
+++ trunk/config/networking.html Tue Oct 17 11:08:52 2006
@@ -94,11 +94,11 @@
 		$('advancedw').style.width = $('split').width;
 		$('advancedi').style.width = $('split').width - 60;
 		adstatus = "hidden";
-		for (var x in vmfields) {
+		for (var x =0 ; x < vmfields.length; x++) {
 			vmwidgets[vmfields[x]] = $(vmfields[x]);
 			vmwidgets[vmfields[x]].disabled = true;
 		}
-		for (var x in fields) {
+		for (var x =0; x < fields.length; x++) {
 			widgets[fields[x]] = $(fields[x]);
 			widgets[fields[x]].disabled = true;
 		}

Modified: trunk/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/options.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/options.html (original)
+++ trunk/config/options.html Tue Oct 17 11:08:52 2006
@@ -153,12 +153,12 @@
 function localajaxinit(){
 	$('pwdbutton').disabled = true;
 
-	for (var x in fieldnames) {
+	for (var x =0; x < fieldnames.length; x++) {
 		widgets[fieldnames[x]] = $(fieldnames[x]);
 		widgets[fieldnames[x]].disabled = true;
 	}
 
-	for (var x in fieldnames2) {
+	for (var x =0; x < fieldnames2.length; x++) {
 		widgets2[fieldnames2[x]] = $(fieldnames2[x]);
 		widgets2[fieldnames2[x]].disabled = true;
 	}

Modified: trunk/config/queues.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/queues.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/queues.html (original)
+++ trunk/config/queues.html Tue Oct 17 11:08:52 2006
@@ -337,7 +337,7 @@
 	$('advancedw').style.height = 1;
 	$('advancedw').style.width = $('split').width;
 	$('advancedi').style.width = $('split').width - 60;
-	for (var x in fieldnames) {
+	for (var x=0; x < fieldnames.length ; x++) {
 		widgets[fieldnames[x]] = $(fieldnames[x]);
 		widgets[fieldnames[x]].disabled = true;
 	}

Modified: trunk/config/sip_general.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/sip_general.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/sip_general.html (original)
+++ trunk/config/sip_general.html Tue Oct 17 11:08:52 2006
@@ -28,7 +28,7 @@
 }
 
 function localajaxinit(){
-		for (var x in fieldnames) {
+		for (var x =0; x < fieldnames.length; x++ ) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);
 			widgets[fieldnames[x]].disabled = true;
 		}

Modified: trunk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/trunks.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/trunks.html (original)
+++ trunk/config/trunks.html Tue Oct 17 11:08:52 2006
@@ -265,11 +265,11 @@
 		$('trunkstyleanalog').onclick = null;
 		$('trunkstylevoip').altonclick = $('trunkstylevoip').onclick;
 		$('trunkstylevoip').onclick = null;
-		for (var x in fieldnames) {
+		for (var x =0; x< fieldnames.length; x++) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);
 			widgets[fieldnames[x]].disabled = true;
 		}
-		for (var x in provfieldnames) {
+		for (var x =0; x < provfieldnames.length ; x++) {
 			provwidgets[provfieldnames[x]] = $(provfieldnames[x]);
 			provwidgets[provfieldnames[x]].disabled = true;
 		}

Modified: trunk/config/voicemail.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/voicemail.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/voicemail.html (original)
+++ trunk/config/voicemail.html Tue Oct 17 11:08:52 2006
@@ -170,11 +170,11 @@
 		$('advancedi').style.width = $('split').width - 60;
 		adstatus = "hidden";
 		$('extensions').contentEditable = 'false';
-		for (var x in vmfields) {
+		for (var x =0; x< vmfields.length; x++) {
 			vmwidgets[vmfields[x]] = $(vmfields[x]);
 			vmwidgets[vmfields[x]].disabled = true;
 		}
-		for (var x in fields) {
+		for (var x =0; x < fields.length; x++) {
 			widgets[fields[x]] = $(fields[x]);
 			widgets[fields[x]].disabled = true;
 		}

Modified: trunk/config/zapata.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/zapata.html?rev=75&r1=74&r2=75&view=diff
==============================================================================
--- trunk/config/zapata.html (original)
+++ trunk/config/zapata.html Tue Oct 17 11:08:52 2006
@@ -52,7 +52,7 @@
 
 function localajaxinit(){
 	parent.loadscreen(this);
-		for (var x in fieldnames) {
+		for (var x =0; x< fieldnames.length; x++) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);
 			widgets[fieldnames[x]].disabled = true;
 		}



More information about the asterisk-gui-commits mailing list