changeset 945:d90eb52966be

"preview" doesn't work for zoomArea.
author robcast
date Wed, 28 Dec 2011 22:10:31 +0100
parents 3916303b8f17
children aa5a978a5311
files webapp/src/main/webapp/jquery/jquery.digilib.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.js	Wed Dec 28 22:04:18 2011 +0100
+++ b/webapp/src/main/webapp/jquery/jquery.digilib.js	Wed Dec 28 22:10:31 2011 +0100
@@ -1626,6 +1626,7 @@
             // clip and transform
             clickRect.clipTo(picRect);
             var area = data.imgTrafo.invtransform(clickRect);
+            //$(data).trigger('changeZoomArea', area); // TODO: doesn't work yet
             data.zoomArea = area;
             // zoomed is always fit
             data.settings.ws = 1;