Index: lams_central/web/includes/javascript/groupDisplay.js =================================================================== diff -u -r48ff10930144a6b8fb7a6f43130d961aa904d4f0 -r07865c855b32c77613ed72dd81cd499033dca4dd --- lams_central/web/includes/javascript/groupDisplay.js (.../groupDisplay.js) (revision 48ff10930144a6b8fb7a6f43130d961aa904d4f0) +++ lams_central/web/includes/javascript/groupDisplay.js (.../groupDisplay.js) (revision 07865c855b32c77613ed72dd81cd499033dca4dd) @@ -377,7 +377,7 @@ } -function showFlashlessAuthoringDialog(){ +function showFlashlessAuthoringDialog(learningDesignID){ showDialog('dialogFlashlessAuthoring', { 'height' : 865, 'width' : 1280, @@ -392,9 +392,15 @@ } }, 'open' : function() { - var orgID = $(this).dialog('option', 'orgID'); + var orgID = $(this).dialog('option', 'orgID'), + url = LAMS_URL + 'authoring/author.do?method=openAuthoring'; + + if (learningDesignID) { + url += '&learningDesignID=' + learningDesignID; + } + // load contents after opening the dialog - $('iframe', this).attr('src', LAMS_URL + 'authoring/author.do?method=openAuthoring'); + $('iframe', this).attr('src', url); } }, true); }