diff --git a/suite/browser/linkToolbarOverlay.xul b/suite/browser/linkToolbarOverlay.xul
index 062b6bd6d3e5..cfce45f4160f 100644
--- a/suite/browser/linkToolbarOverlay.xul
+++ b/suite/browser/linkToolbarOverlay.xul
@@ -88,24 +88,24 @@
tbautostretch="always" hidden="true" hasitems="false">
+ label="&topButton.label;" disabled="true"/>
+ label="&upButton.label;" disabled="true"/>
+ label="&firstButton.label;" disabled="true"/>
+ label="&prevButton.label;" disabled="true"/>
+ label="&nextButton.label;" disabled="true"/>
+ label="&lastButton.label;" disabled="true"/>
diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js
index 9aed6946107f..64d7aee4eda1 100644
--- a/suite/browser/navigator.js
+++ b/suite/browser/navigator.js
@@ -1329,40 +1329,30 @@ function checkForDirectoryListing()
**/
function FillInHTMLTooltip(tipElement)
{
- const XULNS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
const XLinkNS = "http://www.w3.org/1999/xlink";
- const Node = { ELEMENT_NODE : 1 }; // XXX Components.interfaces.Node;
var retVal = false;
- var tipNode = document.getElementById("HTML_TOOLTIP_tooltipBox");
- try {
- while (tipNode.hasChildNodes())
- tipNode.removeChild(tipNode.firstChild);
- var titleText = "";
- var XLinkTitleText = "";
-
- while (!titleText && !XLinkTitleText && tipElement) {
- if (tipElement.nodeType == Node.ELEMENT_NODE) {
- titleText = tipElement.getAttribute("title");
- XLinkTitleText = tipElement.getAttributeNS(XLinkNS, "title");
- }
- tipElement = tipElement.parentNode;
+ var titleText = null;
+ var XLinkTitleText = null;
+
+ while (!titleText && !XLinkTitleText && tipElement) {
+ if (tipElement.nodeType == Node.ELEMENT_NODE) {
+ titleText = tipElement.getAttribute("title");
+ XLinkTitleText = tipElement.getAttributeNS(XLinkNS, "title");
}
+ tipElement = tipElement.parentNode;
+ }
- var texts = [titleText, XLinkTitleText];
+ var texts = [titleText, XLinkTitleText];
+ var tipNode = document.getElementById("aHTMLTooltip");
- for (var i = 0; i < texts.length; ++i) {
- var t = texts[i];
- if (t.search(/\S/) >= 0) {
- var tipLineElem = tipNode.ownerDocument.createElementNS(XULNS, "text");
- tipLineElem.setAttribute("value", t);
- tipNode.appendChild(tipLineElem);
-
- retVal = true;
- }
+ for (var i = 0; i < texts.length; ++i) {
+ var t = texts[i];
+ if (t && t.search(/\S/) >= 0) {
+ tipNode.setAttribute("label", t);
+ retVal = true;
}
- } catch (e) {
}
return retVal;
diff --git a/suite/browser/navigator.xul b/suite/browser/navigator.xul
index 559148549472..7ce3b9ffb723 100644
--- a/suite/browser/navigator.xul
+++ b/suite/browser/navigator.xul
@@ -108,9 +108,7 @@ Contributor(s): ______________________________________. -->
-
-
-
+
@@ -119,9 +117,6 @@ Contributor(s): ______________________________________. -->
-
-
-