зеркало из https://github.com/mozilla/pjs.git
Bug 213163 - show bookmark URL over mouseover of bookmark toolbar item in status bar. patch from Michael Schonfeld <dev@schonfeld.org>, r=me, a=schrep.
This commit is contained in:
Родитель
4b48bcc3b7
Коммит
60a3b3c2b8
|
@ -1034,6 +1034,15 @@
|
|||
</implementation>
|
||||
|
||||
<handlers>
|
||||
<handler event="mouseover"><![CDATA[
|
||||
var button = event.target;
|
||||
if (button.parentNode == this && button.node &&
|
||||
PlacesUtils.nodeIsURI(button.node))
|
||||
window.XULBrowserWindow.setOverLink(event.target.node.uri, null);
|
||||
]]></handler>
|
||||
<handler event="mouseout"><![CDATA[
|
||||
window.XULBrowserWindow.setOverLink("", null);
|
||||
]]></handler>
|
||||
<handler event="mousedown"><![CDATA[
|
||||
// When the user clicks down on a button, set it as the selection and
|
||||
// tell the controller that we are the active view.
|
||||
|
|
Загрузка…
Ссылка в новой задаче