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

This commit is contained in:
bzbarsky@mit.edu 2007-08-21 22:01:01 -07:00
Родитель e29e615ac9
Коммит 4b936ab240
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -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;