pari: trunk r748 - in /trunk/config: numberplan.html setup/5.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Apr 24 14:48:05 MST 2007


Author: pari
Date: Tue Apr 24 16:48:04 2007
New Revision: 748

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=748
Log:
some more improvements to the previous commit - also make the same change during the setup wizard

Modified:
    trunk/config/numberplan.html
    trunk/config/setup/5.html

Modified: trunk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/numberplan.html?view=diff&rev=748&r1=747&r2=748
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Tue Apr 24 16:48:04 2007
@@ -354,16 +354,13 @@
 	newCell2.innerHTML =  (m[a][b].ruledesc) ? m[a][b].ruledesc : a ; 
 	if(newCell2.innerHTML == "custom"){ newCell2.innerHTML = "custom ("+ a + ")"; }
 
+	var newCell3 = newRow.insertCell(3);
+	newCell3.align="center";
+	newCell3.width=85;
 	if(c == "invalid" || c== "undefined"  ){
-		var newCell3 = newRow.insertCell(3);
-		newCell3.align="center";
 		newCell3.innerHTML = "<span style='cursor:pointer; color : #0000ff;'  onclick=\"editcallingrule('"+ a +"', '"+ b +"')\">Select a ServiceProvider</span>";
-		newCell3.width=85;
 	}else{
-		var newCell3 = newRow.insertCell(3);
-		newCell3.align="center";
 		newCell3.innerHTML = trunks_desc[c].comment  ;
-		newCell3.width=85;
 	}
 
 	var newCell4 = newRow.insertCell(4);

Modified: trunk/config/setup/5.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/setup/5.html?view=diff&rev=748&r1=747&r2=748
==============================================================================
--- trunk/config/setup/5.html (original)
+++ trunk/config/setup/5.html Tue Apr 24 16:48:04 2007
@@ -247,14 +247,13 @@
 	var newCell2 = newRow.insertCell(2);
 	newCell2.innerHTML =  default_np_data[a][b].ruledesc ; 
 
+	var newCell3 = newRow.insertCell(3);
+	newCell3.align="center";
+	newCell3.width=85;
 	if(c == "invalid" || c== "undefined"  ){
-		var newCell3 = newRow.insertCell(3);
-		newCell3.innerHTML = "<B><font color=red>invalid  trunk</font></B>"  ;
-		newCell3.width=85;
+		newCell3.innerHTML = "<span style='cursor:pointer; color : #0000ff;'  onclick=\"editcallingrule('"+ a +"', '"+ b +"')\">Select a ServiceProvider</span>";
 	}else{
-		var newCell3 = newRow.insertCell(3);
 		newCell3.innerHTML = trunks_desc[c].comment  ;
-		newCell3.width=85;
 	}
 
 	var newCell4 = newRow.insertCell(4);



More information about the asterisk-gui-commits mailing list