Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js =================================================================== diff -u -r06a4c89bf38facb59f2586650246f08cfdd4d0fe -r4d93de876d7c8ade263a2774cd7d155c564d7177 --- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 06a4c89bf38facb59f2586650246f08cfdd4d0fe) +++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 4d93de876d7c8ade263a2774cd7d155c564d7177) @@ -2268,9 +2268,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) {