Merge branch 'MDL-36752-MOODLE_23_STABLE-2' of git://git.luns.net.uk/moodle into MOODLE_23_STABLE

This commit is contained in:
Dan Poltawski
2012-11-28 09:41:30 +08:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1425,7 +1425,7 @@ M.util.help_icon = {
return;
}
this.Y = Y;
Y.one('body').delegate('click', this.display, 'span.helplink a', this);
Y.one('body').delegate('click', this.display, 'span.helplink a.tooltip', this);
this.initialised = true;
},
add : function(Y, properties) {
+1 -1
View File
@@ -1803,7 +1803,7 @@ class core_renderer extends renderer_base {
// note: this title is displayed only if JS is disabled, otherwise the link will have the new ajax tooltip
$title = get_string('helpprefix2', '', trim($title, ". \t"));
$attributes = array('href'=>$url, 'title'=>$title, 'aria-haspopup' => 'true');
$attributes = array('href'=>$url, 'title'=>$title, 'aria-haspopup' => 'true', 'class' => 'tooltip');
$output = html_writer::tag('a', $output, $attributes);
$this->page->requires->js_init_call('M.util.help_icon.setup');