[kupu-checkins] r54930 - kupu/trunk/kupu/widgeteer

guido at codespeak.net guido at codespeak.net
Mon May 19 15:22:29 CEST 2008


Author: guido
Date: Mon May 19 15:22:26 2008
New Revision: 54930

Modified:
   kupu/trunk/kupu/widgeteer/kupuinit.js
Log:
Added a hook to do post-init stuff from the afterInit method of widgeteer.


Modified: kupu/trunk/kupu/widgeteer/kupuinit.js
==============================================================================
--- kupu/trunk/kupu/widgeteer/kupuinit.js	(original)
+++ kupu/trunk/kupu/widgeteer/kupuinit.js	Mon May 19 15:22:26 2008
@@ -46,6 +46,9 @@
     // if we don't first focus the outer window, Mozilla won't show a cursor
     window.focus();
     this.getDocument().getWindow().focus();
+    if (this.afterWidgeteerInit) {
+        this.afterWidgeteerInit(this);
+    };
 };
 
 function WidgeteerDrawerTool() {


More information about the kupu-checkins mailing list