BUG-15563 Scroll error en IE10 Iframes largos Standards Mode.
Cuando se tiene IE10 con Document Mode 'Standards' la pagina aumenta su tamanio y la pagina no se muestra en su totalidad, no dejando ver la parte final de algunos listados, como el listado de New Case, Inbox, lis dynaforms largos, etc. El problema se daba por un bug con el navegador IE10 con el estilo overflow = hidden, problema solucionado con un hotfix para IE10. Se agrego 'px' para que el height sea tomado en px (pixeles) con eso se calcula bien el tamanio del iframe.
This commit is contained in:
@@ -20,17 +20,13 @@
|
||||
var oClientWinSize = getClientWindowSize();
|
||||
|
||||
|
||||
if(document.compatMode == 'CSS1Compat' && document.documentMode == '10'){
|
||||
document.documentElement.style.overflowY = 'scroll';
|
||||
}
|
||||
|
||||
function autoResizeScreen() {
|
||||
oCasesFrame = document.getElementById('casesFrame');
|
||||
height = getClientWindowSize().height-90;
|
||||
oCasesFrame.style.height = height;
|
||||
oCasesFrame.style.height = height + 'px';;
|
||||
oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
|
||||
if(oCasesSubFrame){
|
||||
oCasesSubFrame.style.height = height-5;
|
||||
oCasesSubFrame.style.height = (height-5) + 'px';;
|
||||
}
|
||||
else {
|
||||
setTimeout('autoResizeScreen()', 2000);
|
||||
|
||||
Reference in New Issue
Block a user