Merge branch 'MDL-39355-m' of git://github.com/andrewnicols/moodle
authorSam Hemelryk <sam@moodle.com>
Sun, 28 Apr 2013 23:07:26 +0000 (11:07 +1200)
committerSam Hemelryk <sam@moodle.com>
Sun, 28 Apr 2013 23:07:26 +0000 (11:07 +1200)
lib/yui/build/moodle-core-tooltip/moodle-core-tooltip-debug.js
lib/yui/build/moodle-core-tooltip/moodle-core-tooltip-min.js
lib/yui/build/moodle-core-tooltip/moodle-core-tooltip.js
lib/yui/src/tooltip/js/tooltip.js

index c6a8de7..1071b0b 100644 (file)
Binary files a/lib/yui/build/moodle-core-tooltip/moodle-core-tooltip-debug.js and b/lib/yui/build/moodle-core-tooltip/moodle-core-tooltip-debug.js differ
index 5ee26df..0626402 100644 (file)
Binary files a/lib/yui/build/moodle-core-tooltip/moodle-core-tooltip-min.js and b/lib/yui/build/moodle-core-tooltip/moodle-core-tooltip-min.js differ
index c6a8de7..1071b0b 100644 (file)
Binary files a/lib/yui/build/moodle-core-tooltip/moodle-core-tooltip.js and b/lib/yui/build/moodle-core-tooltip/moodle-core-tooltip.js differ
index fb8c891..f48d116 100644 (file)
@@ -266,8 +266,7 @@ Y.extend(TOOLTIP, M.core.dialogue, {
         this.setAttrs({
             headerContent: this.get('initialheadertext'),
             bodyContent: this.get('initialbodytext'),
-            footerContent: this.get('initialfootertext'),
-            zIndex: 150
+            footerContent: this.get('initialfootertext')
         });
 
         // Hide and then render the dialogue.
@@ -277,6 +276,10 @@ Y.extend(TOOLTIP, M.core.dialogue, {
         // Hook into a few useful areas.
         this.bb = this.get('boundingBox');
 
+        // Add an additional class to the boundingbox to allow tooltip-specific style to be
+        // set.
+        this.bb.addClass('moodle-dialogue-tooltip');
+
         // Change the alignment if this is an RTL language.
         if (right_to_left()) {
             this.alignpoints = [