pari: trunk r96 - /trunk/config/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Oct 31 13:57:17 MST 2006


Author: pari
Date: Tue Oct 31 14:57:17 2006
New Revision: 96

URL: http://svn.digium.com/view/asterisk-gui?rev=96&view=rev
Log:
minor fixes

Removed:
    trunk/config/index.html
Modified:
    trunk/config/cfgadvanced.html
    trunk/config/cfgappliance.html
    trunk/config/cfgbasic.html

Modified: trunk/config/cfgadvanced.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgadvanced.html?rev=96&r1=95&r2=96&view=diff
==============================================================================
--- trunk/config/cfgadvanced.html (original)
+++ trunk/config/cfgadvanced.html Tue Oct 31 14:57:17 2006
@@ -153,13 +153,13 @@
 
 	function registerajax() {
 		var pnameheight = 22;
-		var pheight = (505  - (pnameheight*panels.length) )  - 4 ;
+		var pheight = (503  - (pnameheight*panels.length) ) ;
 		accordion = new Rico.Accordion( $('configpanel'), { panelHeight: pheight,onHideTab:fademainscreen,onShowTab:showmainscreen });
 		//$('borderbox').style.height = $('screenholder').clientHeight;
 		//$('titlebar').style.width = $('borderbox').clientWidth - 12;
 		for (var i = 0; i < panels.length; i++) {
 			if (panels[i].name == 'home'){
-				$(panels[i].name).style.height = pnameheight + "px";
+				$(panels[i].name).style.height = "19px";
 				continue;
 			}
 			$(panels[i].name).realonclick = $(panels[i].name).onclick;

Modified: trunk/config/cfgappliance.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgappliance.html?rev=96&r1=95&r2=96&view=diff
==============================================================================
--- trunk/config/cfgappliance.html (original)
+++ trunk/config/cfgappliance.html Tue Oct 31 14:57:17 2006
@@ -98,7 +98,7 @@
 		loggedon = onoff;
 		if (loggedon == 1) {
 			for (var i = 0; i < panels.length; i++) {
-				if (panels[i].name == 'home'){
+				if (panels[i].name == 'homeapp'){
 					continue;
 				}
 				$(panels[i].name).onclick = $(panels[i].name).realonclick;
@@ -107,7 +107,7 @@
 			}
 		} else {
 			for (var i = 0; i < panels.length; i++) {
-				if (panels[i].name == 'home'){
+				if (panels[i].name == 'homeapp'){
 					// class :: accordionTabContentBox panelHeight = 474;
 					continue;
 				}
@@ -144,13 +144,13 @@
 
 	function registerajax() {
 		var pnameheight = 22;
-		var pheight = (505  - (pnameheight*panels.length) )  - 4 ;
+		var pheight = (503  - (pnameheight*panels.length) )  ;
 		accordion = new Rico.Accordion( $('configpanel'), { panelHeight: pheight,onHideTab:fademainscreen,onShowTab:showmainscreen });
 		//$('borderbox').style.height = $('screenholder').clientHeight;
 		//$('titlebar').style.width = $('borderbox').clientWidth - 12;
 		for (var i = 0; i < panels.length; i++) {
 			if (panels[i].name == 'home'){
-				$(panels[i].name).style.height = pnameheight + "px";
+				$(panels[i].name).style.height = "19px";
 				continue;
 			}
 			$(panels[i].name).realonclick = $(panels[i].name).onclick;

Modified: trunk/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgbasic.html?rev=96&r1=95&r2=96&view=diff
==============================================================================
--- trunk/config/cfgbasic.html (original)
+++ trunk/config/cfgbasic.html Tue Oct 31 14:57:17 2006
@@ -145,13 +145,13 @@
 
 	function registerajax() {
 		var pnameheight = 22;
-		var pheight = (505  - (pnameheight*panels.length) )  - 4 ;
+		var pheight = (503  - (pnameheight*panels.length) ) ;
 		accordion = new Rico.Accordion( $('configpanel'), { panelHeight: pheight,onHideTab:fademainscreen,onShowTab:showmainscreen });
 		//$('borderbox').style.height = $('screenholder').clientHeight;
 		//$('titlebar').style.width = $('borderbox').clientWidth - 12;
 		for (var i = 0; i < panels.length; i++) {
 			if (panels[i].name == 'home'){
-				$(panels[i].name).style.height = pnameheight + "px";
+				$(panels[i].name).style.height =  "19px";
 				continue;
 			}
 			$(panels[i].name).realonclick = $(panels[i].name).onclick;



More information about the asterisk-gui-commits mailing list