Index: lams_central/src/java/org/lamsfoundation/lams/authoring/ObjectExtractor.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/authoring/ObjectExtractor.java,v diff -u -r1.97.2.12 -r1.97.2.13 --- lams_central/src/java/org/lamsfoundation/lams/authoring/ObjectExtractor.java 10 Mar 2017 08:27:51 -0000 1.97.2.12 +++ lams_central/src/java/org/lamsfoundation/lams/authoring/ObjectExtractor.java 28 Mar 2017 06:47:37 -0000 1.97.2.13 @@ -886,8 +886,11 @@ annotation.setEndXcoord((Integer) JsonUtil.opt(annotationJSON, AuthoringJsonTags.END_XCOORD)); annotation.setEndYcoord((Integer) JsonUtil.opt(annotationJSON, AuthoringJsonTags.END_YCOORD)); annotation.setColor((String) JsonUtil.opt(annotationJSON, AuthoringJsonTags.COLOR)); - annotation.setSize(Short.valueOf((String) JsonUtil.opt(annotationJSON, AuthoringJsonTags.SIZE))); - + String size = (String) JsonUtil.opt(annotationJSON, AuthoringJsonTags.SIZE); + if (size != null) { + annotation.setSize(Short.valueOf(size)); + } + if (found) { baseDAO.update(annotation); } else { Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/authoring/authoringGeneral.js,v diff -u -r1.51.2.67 -r1.51.2.68 --- lams_central/web/includes/javascript/authoring/authoringGeneral.js 10 Mar 2017 08:29:52 -0000 1.51.2.67 +++ lams_central/web/includes/javascript/authoring/authoringGeneral.js 28 Mar 2017 06:47:37 -0000 1.51.2.68 @@ -2436,7 +2436,7 @@ 'annotationUIID' : this.uiid, 'title' : this.title, 'xCoord' : parseInt(box.x), - 'yCoord' : parseInt(box.y), + 'yCoord' : parseInt(box.y) + (size ? +size : 0), 'endXCoord' : isRegion ? parseInt(box.x2) : null, 'endYCoord' : isRegion ? parseInt(box.y2) : null, 'color' : Snap.color(this.items.shape.attr('fill')).hex,