pari: trunk r42 - /trunk/config/menus.html

asterisk-gui-commits at lists.digium.internal asterisk-gui-commits at lists.digium.internal
Mon Oct 2 10:19:23 CDT 2006


Author: pari
Date: Mon Oct  2 10:19:23 2006
New Revision: 42

URL: http://svn.digium.com/view/asterisk-gui?rev=42&view=rev
Log:
BugFix .. Second step is getting a priority of 1

Modified:
    trunk/config/menus.html

Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?rev=42&r1=41&r2=42&view=diff
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Mon Oct  2 10:19:23 2006
@@ -208,7 +208,7 @@
 	var priorities = new Array;
 
 	// algorithm 4 calculate new priority
-	if(voicemenusdata[$('vmenus').value].extensions['s'] && voicemenusdata[$('vmenus').value].extensions['s'].length > 1){
+	if(voicemenusdata[$('vmenus').value].extensions['s'] && voicemenusdata[$('vmenus').value].extensions['s'].length > 0 ){
 		for( var p=0; p < voicemenusdata[$('vmenus').value].extensions['s'].length; p ++){
 			var temp  = voicemenusdata[$('vmenus').value].extensions['s'][p].split(',');			
 			priorities.push(temp[1]);



More information about the asterisk-gui-commits mailing list