Index: lams_central/web/includes/javascript/groupDisplay.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/groupDisplay.js,v diff -u -r1.37.2.8 -r1.37.2.9 --- lams_central/web/includes/javascript/groupDisplay.js 9 Sep 2015 12:12:37 -0000 1.37.2.8 +++ lams_central/web/includes/javascript/groupDisplay.js 10 Sep 2015 11:03:43 -0000 1.37.2.9 @@ -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); }