Closed Bug 407917 Opened 18 years ago Closed 18 years ago

Security button doesn't open page info to security tab

Categories

(SeaMonkey :: Page Info, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 410391

People

(Reporter: neil, Assigned: db48x)

References

Details

(Keywords: regression)

From onLoadPageInfo(): > /* Select the requested tab, if the name is specified */ > var initialTab = "general"; > if ("arguments" in window && window.arguments.length >= 1 && > window.arguments[0] && window.arguments[0].initialTab) > initialTab = window.arguments[0].initialTab; > var radioGroup = document.getElementById("viewGroup"); > initialTab = document.getElementById(initialTab + "Tab") || document.getElementById("generalTab"); > radioGroup.selectedItem = initialTab; > radioGroup.selectedItem.doCommand(); > radioGroup.focus(); There seem to be three issues here. I've no idea why nobody noticed before. The first is that the initial tab passed in contains the Tab suffix. (I guess we can fix that if you want parity with Firefox.) The second is that viewGroup is a tabbox, so it has an initialTab property. The third is that we use onselect, not oncommand.
Yea, it was overlooked when I ported from firefox.
Status: NEW → ASSIGNED
Depends on: 409800, 410391
(In reply to Comment 0) > There seem to be three issues here. I've no idea why nobody noticed before. > The first is that the initial tab passed in contains the Tab suffix. > (I guess we can fix that if you want parity with Firefox.) Fixed in Bug 410391 > The second is that viewGroup is a tabbox, so it has an initialTab property. I think you mean selectedTab property, if so it's fixed in Bug 409800. > The third is that we use onselect, not oncommand. Any idea why onselect is used here? In the old PageInfo it was oncommand. In Firefox old and new it's also oncommand.
(In reply to comment #2) >(In reply to Comment 0) >>The third is that we use onselect, not oncommand. >Any idea why onselect is used here? Keyboard navigation triggers onselect but not oncommand.
(In reply to comment #4) > Neil, Daniel, > what remains to be done ? Does this answer your question? ;-)
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Didn't spot that before, sorry ;-)
Flags: blocking-seamonkey2?
You need to log in before you can comment on or make changes to this bug.