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

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Mon Feb 19 07:56:54 MST 2007


Author: pari
Date: Mon Feb 19 08:56:53 2007
New Revision: 361

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=361
Log:
fix for the bug reported in http://forums.digium.com/viewtopic.php?t=13698 

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=361&r1=360&r2=361
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Mon Feb 19 08:56:53 2007
@@ -214,6 +214,8 @@
 			}
 			for ( k =0 ; k < z['npcomments'].length ; k++ ){
 					var temp = z['npcomments'][k].split(","); 
+					if( typeof y[temp[0]] == "undefined"){ continue ; }
+					if ( typeof y[temp[0]][temp[1]]  == "undefined" ){  continue ; }
 					y[temp[0]][temp[1]].rulename = temp[2] ;
 					if(temp[3] !="custom")
 						y[temp[0]][temp[1]].ruledesc = parsepattern(temp[0],0) ;



More information about the asterisk-gui-commits mailing list