Author: sevein
Date: Tue Aug 2 14:53:26 2011
New Revision: 9426
Log:
Render TabView from dialog.js, only if exists
Modified:
trunk/js/dialog.js
Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js Sun Jul 31 11:14:00 2011 (r9425)
+++ trunk/js/dialog.js Tue Aug 2 14:53:26 2011 (r9426)
@@ -103,6 +103,13 @@
postmethod: 'none',
visible: false });
+ // Render TabView from markup if exists (for example:
relatedContactInformation)
+ var $tabview = $yuiDialogWrapper.find('.yui-navset');
+ if ($tabview.length)
+ {
+ this.yuiDialog.tabview = new YAHOO.widget.TabView($tabview[0]);
+ }
+
this.yuiDialog.render();
this.yuiDialog.cfg.queueProperty('keylisteners', new
YAHOO.util.KeyListener(this.yuiDialog.form, { keys: 27 }, {
--
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.