Index: lams_tool_laqa/web/authoring/newQuestionBox.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/newQuestionBox.jsp,v diff -u -r1.21 -r1.22 --- lams_tool_laqa/web/authoring/newQuestionBox.jsp 23 Jul 2013 17:53:24 -0000 1.21 +++ lams_tool_laqa/web/authoring/newQuestionBox.jsp 26 Jul 2013 13:17:13 -0000 1.22 @@ -100,8 +100,17 @@ { heightOffSet = document.getElementById('wizardDiv').offsetHeight; } - window.resizeIframe ? window.resizeIframe(heightOffSet) : window.top.resizeIframe(heightOffSet); - heightOffSet = heightOffSet * -1; + + 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); + heightOffSet = heightOffSet * -1; }); });