bug 850077 make tooltips work in social content, r=felipc, a=gavin

This commit is contained in:
Shane Caraveo 2013-03-18 12:43:51 -07:00
parent 40abb5bb20
commit 35e6a97233
3 changed files with 4 additions and 0 deletions

View File

@ -457,6 +457,7 @@ let SocialFlyout = {
iframe.setAttribute("type", "content");
iframe.setAttribute("class", "social-panel-frame");
iframe.setAttribute("flex", "1");
iframe.setAttribute("tooltip", "aHTMLTooltip");
iframe.setAttribute("origin", Social.provider.origin);
panel.appendChild(iframe);
},
@ -897,6 +898,7 @@ var SocialToolbar = {
"mozbrowser": "true",
"class": "social-panel-frame",
"id": notificationFrameId,
"tooltip": "aHTMLTooltip",
// work around bug 793057 - by making the panel roughly the final size
// we are more likely to have the anchor in the correct position.

View File

@ -1101,6 +1101,7 @@
type="content"
context="contentAreaContextMenu"
disableglobalhistory="true"
tooltip="aHTMLTooltip"
flex="1"
style="min-width: 14em; width: 18em; max-width: 36em;"/>
</vbox>

View File

@ -16,6 +16,7 @@
</xul:hbox>
<xul:iframe anonid="iframe" class="chat-frame" flex="1"
context="contentAreaContextMenu"
tooltip="aHTMLTooltip"
xbl:inherits="src,origin,collapsed=minimized" type="content"/>
</content>