# HG changeset patch # User robcast # Date 1424947031 -3600 # Node ID eee1d8cc672b0993a71013fdd7d0d72914275028 # Parent 4ca66f4bdd3ed8585d5e0c465a0d3647dea06aba fix bug when creating shapes without handles. diff -r 4ca66f4bdd3e -r eee1d8cc672b webapp/src/main/webapp/jquery/jquery.digilib.vector.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.vector.js Tue Feb 24 16:12:31 2015 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.vector.js Thu Feb 26 11:37:11 2015 +0100 @@ -615,7 +615,7 @@ // update shape SVG element $shape.place(); // move handles accordingly - placeHandles(); + if (shape.$vertexElems != null) placeHandles(); $(data).trigger('dragShape', shape); } return false;