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

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Jan 10 16:57:19 MST 2007


Author: pari
Date: Wed Jan 10 17:57:18 2007
New Revision: 230

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=230
Log:
Donot display alert for invalid trunks

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=230&r1=229&r2=230
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Wed Jan 10 17:57:18 2007
@@ -165,7 +165,8 @@
 						//return true;
 						addrowtotable( x , sorted_priorities[z] , "undefined" , default_np_data[x][sorted_priorities[z]].digits2strip );
 				}else if(trunk_exists == 0){
-							alert("Note: Calling Rule ("+default_np_data[x][sorted_priorities[z]].rulename+") has an invalid Service Provider\n");
+							rules_nosp.push(default_np_data[x][sorted_priorities[z]].rulename) ;
+							//alert("Note: Calling Rule ("+default_np_data[x][sorted_priorities[z]].rulename+") has an invalid Service Provider\n");
 							$('trunks').selectedIndex = -1;							
 						addrowtotable( x , sorted_priorities[z] , "invalid" , default_np_data[x][sorted_priorities[z]].digits2strip );							
 				}else{



More information about the asterisk-gui-commits mailing list