changeset 784:dde58c15bbd2 jquery

first internal event. no handlers yet.
author robcast
date Tue, 15 Feb 2011 11:02:31 +0100
parents 97e87ee78f11
children b9a75079aece
files client/digitallibrary/jquery/jquery.digilib.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.js	Tue Feb 15 09:52:04 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Tue Feb 15 11:02:31 2011 +0100
@@ -21,6 +21,7 @@
  * digilib jQuery plugin
 **/ 
 
+/*requires dlGeometry.js */
 
 /*jslint browser: true, debug: true, forin: true
 */
@@ -902,7 +903,8 @@
             renderBirdArea(data);
             setupBirdDrag(data);
         }
-        // TODO: update event subscriber?
+        // send event
+        $(data).trigger('update');
     };
 
     // returns maximum size for scaler img in fullscreen mode