- with the new cases list based on extjs, that funcionality was changed
- to solve this you can pass two parameters (id, i) on cases/main script via a url is
sample:
old:
http://127.0.0.1/sysworkflow/en/classic/cases/cases_Open?APP_UID=9651244824f57c29799c545080806236&DEL_INDEX=2&action=todo
new:
http://127.0.0.1/sysworkflow/en/classic/cases/main?id=9651244824f57c29799c545080806236&i=2
where, two parameters is used id and i,
id = APP_UID
i = DEL_INDEX
39 lines
1.1 KiB
PHP
Executable File
39 lines
1.1 KiB
PHP
Executable File
<html>
|
|
<style type="text/css">
|
|
.Footer .content {
|
|
padding :0px !important;
|
|
}
|
|
*html body {
|
|
overflow-y: hidden;
|
|
}
|
|
</style>
|
|
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
|
<iframe name="casesFrame" id="casesFrame" src ="../cases/main_init<?php echo $_POST['qs'];?>" width="99%" height="768" frameborder="0">
|
|
<p>Your browser does not support iframes.</p>
|
|
</iframe>
|
|
</body>
|
|
<script>
|
|
if ( document.getElementById('pm_submenu') )
|
|
document.getElementById('pm_submenu').style.display = 'none';
|
|
document.documentElement.style.overflowY = 'hidden';
|
|
|
|
var oClientWinSize = getClientWindowSize();
|
|
|
|
|
|
|
|
function autoResizeScreen() {
|
|
oCasesFrame = document.getElementById('casesFrame');
|
|
height = getClientWindowSize().height-90;
|
|
oCasesFrame.style.height = height;
|
|
oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
|
|
if(oCasesSubFrame){
|
|
oCasesSubFrame.style.height = height-5;
|
|
}
|
|
else {
|
|
setTimeout('autoResizeScreen()', 2000);
|
|
}
|
|
|
|
|
|
}
|
|
</script>
|
|
</html> |