Author: sevein
Date: Mon Aug  8 15:37:38 2011
New Revision: 9460

Log:
Call showEvent user function if provided

Modified:
   trunk/js/dialog.js

Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js  Mon Aug  8 14:52:02 2011        (r9459)
+++ trunk/js/dialog.js  Mon Aug  8 15:37:38 2011        (r9460)
@@ -131,6 +131,11 @@
         this.yuiDialog.showEvent.subscribe(function ()
           {
             Drupal.behaviors.date.attach(thisDialog.table.parentNode);
+
+            if (undefined !== thisDialog.options.showEvent)
+            {
+              thisDialog.options.showEvent.call(this);
+            }
           });
 
         // Append hidden fields to form on submit

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to