PM-2346 resolved
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
{if $user_logged neq '' or $tracker neq ''}
|
{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 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"}
|
{include file="$tpl_menu"}
|
||||||
{if (count($subMenus)>0) }
|
{if (count($subMenus)>0) }
|
||||||
{include file= "$tpl_submenu"}
|
{include file= "$tpl_submenu"}
|
||||||
|
|||||||
@@ -25,6 +25,24 @@
|
|||||||
document.getElementById('pm_submenu').style.display = 'none';
|
document.getElementById('pm_submenu').style.display = 'none';
|
||||||
document.documentElement.style.overflowY = 'hidden';
|
document.documentElement.style.overflowY = 'hidden';
|
||||||
function autoResizeScreen() {
|
function autoResizeScreen() {
|
||||||
|
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');
|
oCasesFrame = document.getElementById('frameMain');
|
||||||
oClientWinSize = getClientWindowSize();
|
oClientWinSize = getClientWindowSize();
|
||||||
height = oClientWinSize.height-105;
|
height = oClientWinSize.height-105;
|
||||||
@@ -32,6 +50,7 @@
|
|||||||
if (oCasesFrame.height ) {
|
if (oCasesFrame.height ) {
|
||||||
oCasesFrame.height = height;
|
oCasesFrame.height = height;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
|
//oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
|
||||||
//oCasesSubFrame.style.height = height-10;
|
//oCasesSubFrame.style.height = height-10;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user