pari: trunk r170 - /trunk/config/numberplan.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Dec 15 19:23:06 MST 2006


Author: pari
Date: Fri Dec 15 20:23:05 2006
New Revision: 170

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=170
Log:
guess i should be more careful about the braces

Modified:
    trunk/config/numberplan.html

Modified: trunk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/numberplan.html?view=diff&rev=170&r1=169&r2=170
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Fri Dec 15 20:23:05 2006
@@ -244,9 +244,10 @@
 	$('rulename').value = default_np_data[a][b].rulename;
 	$('trunks').selectedIndex = -1 ;
 	for(var i=0; i < $('trunks').length ; i++ ){
-			if( $('trunks').options[i].value == default_np_data[a][b].trunk )
+			if( $('trunks').options[i].value == default_np_data[a][b].trunk ){
 			$('trunks').selectedIndex = i ;
 			break;
+			}
 	}
 	$('pattern').value = a;
 	$('strip').value = default_np_data[a][b].digits2strip;



More information about the asterisk-gui-commits mailing list