changeset 1350:81d5135ceafc

remove superfluous line
author hertzhaft
date Mon, 09 Feb 2015 09:20:28 +0100
parents ad0b58c983c7
children 76b72fa16012
files webapp/src/main/webapp/jquery/jquery.digilib.vector.js
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.vector.js	Sun Feb 08 19:22:24 2015 +0100
+++ b/webapp/src/main/webapp/jquery/jquery.digilib.vector.js	Mon Feb 09 09:20:28 2015 +0100
@@ -641,10 +641,9 @@
             }
             // save editable state and set to non-editable
             if (shape.properties != null) {
-            	shape.properties._editable = shape.properties.editable;
-            	shape.properties.editable = false;
-            	shape.properties.screenpos = [pt];
-            	shape.properties.startpos = [pt];
+            	    shape.properties._editable = shape.properties.editable;
+            	    shape.properties.editable = false;
+            	    shape.properties.screenpos = [pt];
             } else {
                 shape.properties = {'editable' : false};
             }