Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js =================================================================== diff -u -r1e182a71e8141fae947f1ad8c9f63caeb6b2db32 -r95d361d0316d4f950c67e12ad12b449c44cf22c8 --- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 1e182a71e8141fae947f1ad8c9f63caeb6b2db32) +++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 95d361d0316d4f950c67e12ad12b449c44cf22c8) @@ -1713,7 +1713,7 @@ /** * Replace current canvas contents with the loaded sequence. */ - openLearningDesign : function(learningDesignID) { + openLearningDesign : function(learningDesignID, callback) { if (!learningDesignID){ // do just a re-load learningDesignID = layout.ld.learningDesignID; @@ -2274,6 +2274,10 @@ if (!ld.validDesign && !isReadOnlyMode) { layout.infoDialog.data('show')(LABELS.SEQUENCE_NOT_VALID); } + + if (callback) { + callback(); + } } }); }, @@ -3049,15 +3053,18 @@ $('