Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js =================================================================== diff -u -rc9c3f3b59bf02f6e96a727e1f92a11f7a65d2bbd -ra3a2b7e60238b4705c80952dbabaef32bf564cc1 --- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision c9c3f3b59bf02f6e96a727e1f92a11f7a65d2bbd) +++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision a3a2b7e60238b4705c80952dbabaef32bf564cc1) @@ -2269,9 +2269,9 @@ GeneralLib.resizePaper(); } - var resizeImportPartFrame = window.parent.GeneralLib.resizeImportPartFrame; - if (resizeImportPartFrame) { - resizeImportPartFrame(+paper.attr('height')); + var parentFrame = window.parent.GeneralLib; + if (parentFrame) { + parentFrame.resizeImportPartFrame(+paper.attr('height')); } if (systemGate) {