PM-2346 resolved
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<tr>
|
||||
{if $user_logged neq '' or $tracker neq ''}
|
||||
<td rowspan="2" style="vertical-align:top;width: 245px;"><img src="{$logo_company}" class="logo_company"/></td>
|
||||
<td class="mainMenuBG" rowspan="2" valign="center" >
|
||||
<td id="mainMenuBG" class="mainMenuBG" rowspan="2" valign="center" >
|
||||
{include file="$tpl_menu"}
|
||||
{if (count($subMenus)>0) }
|
||||
{include file= "$tpl_submenu"}
|
||||
|
||||
@@ -25,13 +25,32 @@
|
||||
document.getElementById('pm_submenu').style.display = 'none';
|
||||
document.documentElement.style.overflowY = 'hidden';
|
||||
function autoResizeScreen() {
|
||||
oCasesFrame = document.getElementById('frameMain');
|
||||
oClientWinSize = getClientWindowSize();
|
||||
height = oClientWinSize.height-105;
|
||||
oCasesFrame.style.height = height;
|
||||
if (oCasesFrame.height ) {
|
||||
oCasesFrame.height = height;
|
||||
}
|
||||
var containerList1, containerList2;
|
||||
oCasesFrame = document.getElementById('frameMain');
|
||||
containerList1 = document.getElementById("pm_header");
|
||||
if (document.getElementById("mainMenuBG") &&
|
||||
document.getElementById("mainMenuBG").parentNode &&
|
||||
document.getElementById("mainMenuBG").parentNode.parentNode &&
|
||||
document.getElementById("mainMenuBG").parentNode.parentNode.parentNode &&
|
||||
document.getElementById("mainMenuBG").parentNode.parentNode.parentNode.parentNode
|
||||
){
|
||||
containerList2 = document.getElementById("mainMenuBG").parentNode.parentNode.parentNode.parentNode;
|
||||
}
|
||||
if (containerList1 === containerList2) {
|
||||
height = oClientWinSize.height - containerList1.clientHeight;
|
||||
oCasesFrame.style.height = height;
|
||||
if (oCasesFrame.height ) {
|
||||
oCasesFrame.height = height;
|
||||
}
|
||||
} else {
|
||||
oCasesFrame = document.getElementById('frameMain');
|
||||
oClientWinSize = getClientWindowSize();
|
||||
height = oClientWinSize.height-105;
|
||||
oCasesFrame.style.height = height;
|
||||
if (oCasesFrame.height ) {
|
||||
oCasesFrame.height = height;
|
||||
}
|
||||
}
|
||||
//oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
|
||||
//oCasesSubFrame.style.height = height-10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user