MDL-21235 converted help cions to final render outputlib api
This commit is contained in:
@@ -1248,6 +1248,11 @@ function init_help_icons() {
|
||||
zIndex: '1000'
|
||||
});
|
||||
|
||||
// remove all titles, they would obscure the YUI tooltip
|
||||
for (var i = 0; i < iconspans.length; i++) {
|
||||
iconspans[i].getElementsByTagName('a')[0].title = '';
|
||||
}
|
||||
|
||||
tooltip.contextTriggerEvent.subscribe(
|
||||
function(type, args) {
|
||||
// Fetch help page contents asynchronously
|
||||
@@ -1261,8 +1266,6 @@ function init_help_icons() {
|
||||
context.title = '';
|
||||
|
||||
var link = context.getElementsByTagName('a')[0];
|
||||
link.title = '';
|
||||
YAHOO.util.Dom.getElementsByClassName('iconhelp', 'img', link)[0].title = '';
|
||||
var thistooltip = this;
|
||||
var ajaxurl = link.href + '&fortooltip=1';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user