Index: lams_central/web/includes/javascript/addLesson.js =================================================================== diff -u -rdf453715948c96fbc106a66429e2dd53089a5bd8 -rc170caa7ecfea6453eaa4daed629608d84882ca9 --- lams_central/web/includes/javascript/addLesson.js (.../addLesson.js) (revision df453715948c96fbc106a66429e2dd53089a5bd8) +++ lams_central/web/includes/javascript/addLesson.js (.../addLesson.js) (revision c170caa7ecfea6453eaa4daed629608d84882ca9) @@ -454,8 +454,8 @@ $('#ldScreenshotAuthor').html(response); $('#ldScreenshotAuthor').css('display', 'block').css('width', 'auto').css('height', 'auto'); - originalThumbnailWidth = $('svg','#ldScreenshotAuthor').attr('width'); - originalThumbnailHeight = $('svg','#ldScreenshotAuthor').attr('height'); + originalThumbnailWidth = $('svg.learningDesignSvg','#ldScreenshotAuthor').attr('width'); + originalThumbnailHeight = $('svg.learningDesignSvg','#ldScreenshotAuthor').attr('height'); // resize if needed var resized = resizeSequenceThumbnail(); @@ -504,7 +504,7 @@ function resizeSequenceThumbnail(reset) { var returnValue = false; - var svg = $('svg','#ldScreenshotAuthor'); + var svg = $('svg.learningDesignSvg','#ldScreenshotAuthor'); if ( svg ) { if ( reset ) { svg.attr('width',originalThumbnailWidth); Index: lams_central/web/includes/javascript/authoring/authoringMenu.js =================================================================== diff -u -r40c0555670eae84b4e4f27c79fb96ba95e87edbe -rc170caa7ecfea6453eaa4daed629608d84882ca9 --- lams_central/web/includes/javascript/authoring/authoringMenu.js (.../authoringMenu.js) (revision 40c0555670eae84b4e4f27c79fb96ba95e87edbe) +++ lams_central/web/includes/javascript/authoring/authoringMenu.js (.../authoringMenu.js) (revision c170caa7ecfea6453eaa4daed629608d84882ca9) @@ -271,7 +271,7 @@ /** * Creates a SVG image out of current SVG contents. */ - exportSVG : function(download){ + exportSVG : function(){ ActivityLib.removeSelectEffect(); var crop = MenuLib.getCanvasCrop(); @@ -288,6 +288,7 @@ svg.setAttribute('preserveAspectRatio', 'xMinYMin slice'); svg.setAttribute('width', width); svg.setAttribute('height', height); + $(svg).addClass('learningDesignSvg'); // reset any cursor=pointer styles $('*[style*="cursor"]', svg).css('cursor', 'default');