pari: trunk r406 - in /trunk/config: incoming.html setup/8.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Mar 8 15:02:39 MST 2007


Author: pari
Date: Thu Mar  8 16:02:39 2007
New Revision: 406

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=406
Log:
incoming.html was not properly fixed in commit 405 

Modified:
    trunk/config/incoming.html
    trunk/config/setup/8.html

Modified: trunk/config/incoming.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/incoming.html?view=diff&rev=406&r1=405&r2=406
==============================================================================
--- trunk/config/incoming.html (original)
+++ trunk/config/incoming.html Thu Mar  8 16:02:39 2007
@@ -133,12 +133,14 @@
 	}
 	
 	for ( var i in didtrunks ){ // for each trunk
-			if( didtrunks.hasOwnProperty(i) ){ 
-			for(var j in didtrunks[i]){ // for each parttern of the trunk
-				if( j == "trunkname"){ continue;}
+		if( didtrunks.hasOwnProperty(i) ){ 
+			for(var j in didtrunks[i]){ // for each pattern of the trunk
+				if( didtrunks[i].hasOwnProperty(j) ){ 
+					if( j == "trunkname"){ continue;}
 					addrowtotable( j, i, didtrunks[i][j].action, didtrunks[i][j].priority);
+				}
 			}
-			}
+		}
 	}
 
 	if( $('callingRulesTable').rows.length == 0){

Modified: trunk/config/setup/8.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/setup/8.html?view=diff&rev=406&r1=405&r2=406
==============================================================================
--- trunk/config/setup/8.html (original)
+++ trunk/config/setup/8.html Thu Mar  8 16:02:39 2007
@@ -114,12 +114,14 @@
 	}
 	
 	for ( var i in didtrunks ){ // for each trunk
-			if( didtrunks.hasOwnProperty(i) ){ 
-			for(var j in didtrunks[i]){ // for each parttern of the trunk
-				if( j == "trunkname"){ continue;}
+		if( didtrunks.hasOwnProperty(i) ){ 
+			for(var j in didtrunks[i]){ // for each pattern of the trunk
+				if( didtrunks[i].hasOwnProperty(j) ){ 
+					if( j == "trunkname"){ continue;}
 					addrowtotable( j, i, didtrunks[i][j].action, didtrunks[i][j].priority);
+				}
 			}
-			}
+		}
 	}
 
 	if( $('callingRulesTable').rows.length == 0){



More information about the asterisk-gui-commits mailing list