Front-end part of bug 326009. r=mconnor, sr=neil

This commit is contained in:
bzbarsky%mit.edu 2006-02-22 04:07:41 +00:00
Родитель 9d20fddcfb
Коммит e226d033ad
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -657,7 +657,7 @@
// Clear focus outline before we draw on top of it
this.mCurrentBrowser.focusedElement.blur();
}
this.mCurrentBrowser.setAttribute("type", "content");
this.mCurrentBrowser.setAttribute("type", "content-targetable");
}
var updatePageReport = false;
@ -1114,7 +1114,7 @@
var b = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"browser");
b.setAttribute("type", "content");
b.setAttribute("type", "content-targetable");
b.setAttribute("message", "true");
b.setAttribute("contextmenu", this.getAttribute("contentcontextmenu"));
b.setAttribute("tooltip", this.getAttribute("contenttooltip"));
@ -1316,7 +1316,7 @@
oldBrowser.removeEventListener("DOMTitleChanged", this.onTitleChanged, false);
// We are no longer the primary content area.
oldBrowser.setAttribute("type", "content");
oldBrowser.setAttribute("type", "content-targetable");
// Get the index of the tab we're removing before unselecting it
var currentIndex = this.mTabContainer.selectedIndex;

Просмотреть файл

@ -603,7 +603,7 @@
// Clear focus outline before we draw on top of it
this.mCurrentBrowser.focusedElement.blur();
}
this.mCurrentBrowser.setAttribute("type", "content");
this.mCurrentBrowser.setAttribute("type", "content-targetable");
}
newBrowser.setAttribute("type", "content-primary");
@ -884,7 +884,7 @@
var b = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"browser");
b.setAttribute("type", "content");
b.setAttribute("type", "content-targetable");
b.setAttribute("contextmenu", this.getAttribute("contentcontextmenu"));
b.setAttribute("tooltip", this.getAttribute("contenttooltip"));
@ -1034,7 +1034,7 @@
oldBrowser.removeEventListener("DOMTitleChanged", this.onTitleChanged, false);
// We are no longer the primary content area.
oldBrowser.setAttribute("type", "content");
oldBrowser.setAttribute("type", "content-targetable");
// Now select the new tab before nuking the old one.
var currentIndex = this.mTabContainer.selectedIndex;