Index: lams_central/web/addLesson.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/addLesson.jsp,v diff -u -r1.16.2.14 -r1.16.2.15 --- lams_central/web/addLesson.jsp 1 Nov 2016 03:27:14 -0000 1.16.2.14 +++ lams_central/web/addLesson.jsp 2 Nov 2016 06:34:30 -0000 1.16.2.15 @@ -86,7 +86,7 @@
- +
Index: lams_central/web/main.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/main.jsp,v diff -u -r1.77.2.31 -r1.77.2.32 --- lams_central/web/main.jsp 30 Oct 2016 23:26:05 -0000 1.77.2.31 +++ lams_central/web/main.jsp 2 Nov 2016 06:34:30 -0000 1.77.2.32 @@ -31,7 +31,7 @@ - + Index: lams_central/web/css/addLesson.css =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/css/addLesson.css,v diff -u -r1.3.2.6 -r1.3.2.7 --- lams_central/web/css/addLesson.css 25 Oct 2016 12:29:39 -0000 1.3.2.6 +++ lams_central/web/css/addLesson.css 2 Nov 2016 06:34:30 -0000 1.3.2.7 @@ -25,8 +25,8 @@ } #content .panel-monitor-page, #content .panel-monitor-body { - margin-bottom: 0; - padding-bottom: 0; + margin: 0; + padding: 0; } #content .navbar-collapse { Index: lams_central/web/includes/javascript/addLesson.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/addLesson.js,v diff -u -r1.7.2.7 -r1.7.2.8 --- lams_central/web/includes/javascript/addLesson.js 1 Nov 2016 03:26:49 -0000 1.7.2.7 +++ lams_central/web/includes/javascript/addLesson.js 2 Nov 2016 06:34:30 -0000 1.7.2.8 @@ -3,7 +3,9 @@ lastSelectedUsers = {}, sortOrderAscending = {}, generatingLearningDesign = false; - submitInProgress = false; + submitInProgress = false, + originalThumbnailWidth = 0, + originalThumbnailHeight = 0, /** @@ -17,43 +19,6 @@ * Sets up widgets on the main.jsp page */ function initLessonTab(){ - $('#ldScreenshotAuthor').load(function(){ - generatingLearningDesign = false; - // hide "loading" animation - $('.ldChoiceDependentCanvasElement').css('display', 'none'); - // show the thumbnail - $('#ldScreenshotAuthor').css('display', 'inline'); - // resize if needed - var resized = resizeImage('ldScreenshotAuthor', 477); - toggleCanvasResize(resized ? CANVAS_RESIZE_OPTION_FIT - : CANVAS_RESIZE_OPTION_NONE); - }).error(function(event){ - - // the LD SVG is missing, try to re-generate it - // check first though that we haven't tried already to do that! - if ( generatingLearningDesign ) { - generatingLearningDesign = false; - $('.ldChoiceDependentCanvasElement').css('display', 'none'); - $('#ldCannotLoadSVG').css('display', 'inline'); - } else { - var image = $(this), - learningDesignID = $(this).data('learningDesignID'); - - // iframe just to load Authoring for a single purpose, generate the SVG - $('