|
Lines 78-84
define([
Link Here
|
| 78 |
if (link) { |
78 |
if (link) { |
| 79 |
var node = domConstruct.place(domConstruct.toDom(link), dom.byId('umcLoginLinks')); |
79 |
var node = domConstruct.place(domConstruct.toDom(link), dom.byId('umcLoginLinks')); |
| 80 |
if (node.title) { |
80 |
if (node.title) { |
| 81 |
on(node, 'mouseover', lang.hitch(this, 'showTooltip', node)); |
81 |
on(node, 'mouseover', lang.hitch(this, 'showTooltip', node, node.title)); |
|
|
82 |
domAttr.remove(node, 'title'); |
| 82 |
} |
83 |
} |
| 83 |
} |
84 |
} |
| 84 |
}, |
85 |
}, |
|
Lines 147-154
define([
Link Here
|
| 147 |
login._loginDialog.disableForm(_('Please enable your browser cookies which are necessary for using Univention Services.')); |
148 |
login._loginDialog.disableForm(_('Please enable your browser cookies which are necessary for using Univention Services.')); |
| 148 |
}, |
149 |
}, |
| 149 |
|
150 |
|
| 150 |
showTooltip: function(node) { |
151 |
showTooltip: function(node, text) { |
| 151 |
Tooltip.show(node.title, node); |
152 |
Tooltip.show(text, node); |
| 152 |
on.once(dojo.body(), 'click', function(evt) { |
153 |
on.once(dojo.body(), 'click', function(evt) { |
| 153 |
Tooltip.hide(node); |
154 |
Tooltip.hide(node); |
| 154 |
dojoEvent.stop(evt); |
155 |
dojoEvent.stop(evt); |