changeset 1255:021ebb62fd10

changing a shape sends "changeShape" event with shape.
author robcast
date Fri, 17 Jan 2014 17:38:24 +0100
parents 7410a158ca7b
children 677277d77cca
files webapp/src/main/webapp/jquery/jquery.digilib.vector.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.vector.js	Fri Jan 17 17:17:47 2014 +0100
+++ b/webapp/src/main/webapp/jquery/jquery.digilib.vector.js	Fri Jan 17 17:38:24 2014 +0100
@@ -327,6 +327,7 @@
             }
             $document.off("mousemove.dlVertexDrag", dragMove);
             $document.off("mouseup.dlVertexDrag", dragEnd);
+            $(data).trigger('changeShape', shape);
             return false;
         };