Closed
Bug 360922
Opened 18 years ago
Closed 17 years ago
No longer need to re-initialize "Customize Toolbar" sheet when a new tab is opened
Categories
(Firefox :: General, defect, P2)
Tracking
()
RESOLVED
INVALID
Firefox 3 alpha1
People
(Reporter: asaf, Assigned: asaf)
References
Details
Attachments
(1 file)
4.98 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
from browser.js:
/**
* XXXmano hack: when a new tab is added while the sheet is visible,
* the new tabpanel is overlaying the sheet. We workaround this issue by
* hiding and reopening the sheet when a new tab is added.
*/
function TabOpenSheetHandler(aEvent) {
getBrowser().removeEventListener("TabOpen", TabOpenSheetHandler, false);
document.getElementById("customizeToolbarSheetIFrame")
.contentWindow.gCustomizeToolbarSheet.done();
document.getElementById("customizeToolbarSheetBox").hidden = true;
BrowserCustomizeToolbar();
}
getBrowser().addEventListener("TabOpen", TabOpenSheetHandler, false);
Bug 130078 fixed the underlying issue, thus we can now get rid of this workaround.
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #245760 -
Flags: review?(gavin.sharp)
Comment 2•18 years ago
|
||
Comment on attachment 245760 [details] [diff] [review]
patch
r=me on the parts that aren't bug 354973, and for landing after bug 130078 is relanded.
Attachment #245760 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 3•17 years ago
|
||
This has been re-implemented using a panel. -> INVALID.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•