Index: lams_tool_laqa/web/authoring/newQuestionBox.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/newQuestionBox.jsp,v diff -u -r1.22 -r1.23 --- lams_tool_laqa/web/authoring/newQuestionBox.jsp 26 Jul 2013 13:17:13 -0000 1.22 +++ lams_tool_laqa/web/authoring/newQuestionBox.jsp 15 Aug 2013 20:20:17 -0000 1.23 @@ -101,15 +101,12 @@ heightOffSet = document.getElementById('wizardDiv').offsetHeight; } - var win = null; - if (window.resizeIframe) { - win = window; - } else if (window.parent && window.parent.resizeIframe) { - win = window.parent; - } else { - win = window.top; - } - win.resizeIframe(heightOffSet); + if (window.parent && window.parent.resizeIframe) { + window.parent.resizeIframe(heightOffSet); + } else if (window.top && window.top.resizeIframe) { + window.top.resizeIframe(heightOffSet); + } + heightOffSet = heightOffSet * -1; }); });