Index: lams_tool_laqa/web/authoring/newQuestionBox.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/newQuestionBox.jsp,v diff -u -r1.27 -r1.28 --- lams_tool_laqa/web/authoring/newQuestionBox.jsp 17 Apr 2015 15:49:10 -0000 1.27 +++ lams_tool_laqa/web/authoring/newQuestionBox.jsp 24 Apr 2015 09:45:47 -0000 1.28 @@ -91,13 +91,15 @@ heightOffSet = document.getElementById('wizardDiv').offsetHeight; } - if (window.resizeIframe) { - window.resizeIframe(heightOffSet); - } else if (window.parent && window.parent.resizeIframe) { - window.parent.resizeIframe(heightOffSet); - } else if (window.top && window.top.resizeIframe) { - window.top.resizeIframe(heightOffSet); - } + try { + if (window.parent && window.parent.resizeIframe) { + window.parent.resizeIframe(heightOffSet); + } else if (window.top && window.top.resizeIframe) { + window.top.resizeIframe(heightOffSet); + } + } catch(err) { + // mute cross-domain iframe access errors + } heightOffSet = heightOffSet * -1; });