Author: sevein
Date: Mon Oct 25 11:16:15 2010
New Revision: 8472
Log:
Make tooltips compatible with dialogs.
Modified:
trunk/js/description.js
Modified: trunk/js/description.js
==============================================================================
--- trunk/js/description.js Mon Oct 25 11:14:40 2010 (r8471)
+++ trunk/js/description.js Mon Oct 25 11:16:15 2010 (r8472)
@@ -15,6 +15,13 @@
var $sidebar = $('#sidebar-first');
var $content = $('#content');
+ if ($this.parents(':has(.yui-dialog)').length)
+ {
+ $description.addClass('description-right').show();
+
+ return true;
+ }
+
// Let's see what is the best position,
// - Right side (class description-right): tooltip top position
// in the document shouldn't be in conflict with the sidebar
--
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.