Closed Bug 409800 Opened 17 years ago Closed 17 years ago

Make the new pageInfo window more friendly to extensions

Categories

(SeaMonkey :: Page Info, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philip.chee, Assigned: philip.chee)

References

()

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

In Gecko 1.8 browsers the <tabs> element in the pageInfo window of both Firefox and SeaMonkey had an id (of "tabs") this allowed extensions to overlay the window to add their own UI. In Firefox 3.0b1 the <radiogroup> has an id="viewGroup" which does the same thing. Unfortunately SeaMonkey's version of the new pageInfo window removed the id on the <tabs> making it very difficult for extensions to add their own tab panels. This patch restores the ID and is a one line nobrainer. Tested with a modified version of the Named Anchors extension found at: <http://xsidebar.mozdev.org/modifiedmisc.html#namedanchors>
Attachment #294539 - Flags: superreview?(neil)
Attachment #294539 - Flags: review?(neil)
Attachment #294539 - Flags: superreview?(neil)
Attachment #294539 - Flags: superreview+
Attachment #294539 - Flags: review?(neil)
Attachment #294539 - Flags: review+
Keywords: checkin-needed
Keywords: checkin-needed
Attachment #294539 - Attachment is obsolete: true
the <tabbox> should not have an ID of "viewGroup" since it is not a radio group. Reverting to the ID used in SeaMonkey 1.0/1.1 which is simply "tabbox". Reason: PageInfo extensions that work in both Firefox and SeaMonkey try to overlay "viewGroup" to add their radio buttons to the Firefox PageInfo window. But this causes non-functioning radio buttons to accumulate at the bottom of the SeaMonkey 2.0 PageInfo window.
Attachment #294563 - Flags: superreview?(neil)
Attachment #294563 - Flags: superreview?(neil)
Missed out the pageInfo.js file from the previous diff.
Attachment #294563 - Attachment is obsolete: true
Attachment #294564 - Flags: superreview?(neil)
Attachment #294564 - Flags: review?(neil)
Attachment #294564 - Flags: superreview?(neil)
Attachment #294564 - Flags: superreview+
Attachment #294564 - Flags: review?(neil)
Attachment #294564 - Flags: review?(db48x)
Comment on attachment 294564 [details] [diff] [review] Corrected Patch: Restores the IDs to the <tabbox> and <tabs> elements Ahh, thanks for noticing this Philip. r=db48x
Attachment #294564 - Flags: review?(db48x) → review+
Keywords: checkin-needed
Comment on attachment 294564 [details] [diff] [review] Corrected Patch: Restores the IDs to the <tabbox> and <tabs> elements Checked in per request from Philip via IRC.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Blocks: 407917
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: