Autosize ecm area

This commit is contained in:
Laurent Destailleur 2010-12-13 11:36:22 +00:00
parent 4ad3754d59
commit 0d590a54ed

View File

@ -300,7 +300,7 @@ $morejs=array(
*/
//print "xx".$_SESSION["dol_screenheight"];
$maxheightwin=$_SESSION["dol_screenheight"]-166;
$maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 500)?($_SESSION["dol_screenheight"]-166):660;
$morehead="<style type=\"text/css\">
html, body {