pari: branch asterisknow r1065 - in /branches/asterisknow: ./
config/
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Thu Jun 7 13:41:34 MST 2007
Author: pari
Date: Thu Jun 7 15:41:34 2007
New Revision: 1065
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1065
Log:
Merged revisions 1064 via svnmerge from
https://origsvn.digium.com/svn/asterisk-gui/trunk
........
r1064 | pari | 2007-06-07 15:40:51 -0500 (Thu, 07 Jun 2007) | 1 line
fixing the height of mainscreen
........
Modified:
branches/asterisknow/ (props changed)
branches/asterisknow/config/cfgbasic.html
Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Jun 7 15:41:34 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1061
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1064
Modified: branches/asterisknow/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/cfgbasic.html?view=diff&rev=1065&r1=1064&r2=1065
==============================================================================
--- branches/asterisknow/config/cfgbasic.html (original)
+++ branches/asterisknow/config/cfgbasic.html Thu Jun 7 15:41:34 2007
@@ -37,19 +37,19 @@
function fit_toScreen(){
var t = ASTGUI.displayHeight();
+ var minimumheight = 60;
var c =_$('configpanel');
c.WIH = t;
- _$('mainscreen').style.height = (t - 70);
_$('TOP_MAINTABLE').rows[1].cells[0].height = (t - 70) ;
var pnameheight = 22;
c.pnameheight = pnameheight;
var panels = returnpanels();
var pheight = (( t - 70) - (pnameheight*panels.length) ) ;
- if(pheight > 0){
+ if(pheight > minimumheight){
c.pheight = pheight;
}else{
- pheight = 0;
- c.pheight = 0 ;
+ pheight = minimumheight;
+ c.pheight = minimumheight ;
}
if( c.childNodes.length ){
@@ -61,6 +61,8 @@
}
}
}
+
+ setTimeout( function(){_$('mainscreen').style.height = (panels.length * 22) + pheight ;}, 1500 );
}
function createpanels(){
More information about the asterisk-gui-commits
mailing list