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)

PowerPC
macOS
defect

Tracking

()

RESOLVED INVALID
Firefox 3 alpha1

People

(Reporter: asaf, Assigned: asaf)

References

Details

Attachments

(1 file)

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.
Status: NEW → ASSIGNED
Priority: -- → P2
Attached patch patchSplinter Review
Attachment #245760 - Flags: review?(gavin.sharp)
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+
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.

Attachment

General

Created:
Updated:
Size: