Closed
Bug 143791
Opened 22 years ago
Closed 22 years ago
menuseparator in Go menu should stay hidden for tabbed mode
Categories
(SeaMonkey :: Tabbed Browser, defect)
SeaMonkey
Tabbed Browser
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bugs4hj, Assigned: jag+mozilla)
Details
Attachments
(2 files, 1 obsolete file)
906 bytes,
patch
|
Details | Diff | Splinter Review | |
692 bytes,
patch
|
timeless
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
mozilla RC2 on win32 Steps to reproduce: 1.start mozilla 2.activate tabbed browser mode (ctrl-t) 3.activate Go menu note: second tab should be selected current result: second menuseparator is visible expected result: last menuseparator should be hidden I already made a small patch for this.
Attachment #83226 -
Attachment is obsolete: true
Comment 3•22 years ago
|
||
note: Hyatt told me (#mozilla) to 'remove' attributes set to 'false', and that's not the case here.
Assignee | ||
Comment 5•22 years ago
|
||
Comment on attachment 85737 [details] [diff] [review] Better patch >Index: sessionHistoryUI.js >=================================================================== >RCS file: /cvsroot/mozilla/xpfe/browser/resources/content/sessionHistoryUI.js,v >retrieving revision 1.41 >diff -u -r1.41 sessionHistoryUI.js >--- sessionHistoryUI.js 6 Mar 2002 07:48:44 -0000 1.41 >+++ sessionHistoryUI.js 31 May 2002 07:57:00 -0000 >@@ -82,7 +82,7 @@ > } > break; > case "go": >- if (count > 0) aParent.lastChild.removeAttribute( "hidden" ); >+ aParent.lastChild.hidden = !count; I prefer |aParent.lastChild.hidden = (count == 0);|. Write what you mean (and you don't mean to check if count is false). sr=jag either way.
Attachment #85737 -
Flags: superreview+
Comment 6•22 years ago
|
||
HJ: .hidden = false is not the same as .setAttribute("hidden", "false")
Comment 7•22 years ago
|
||
jag: sessionHistory.count attribute is of long type so can never be false...
Assignee | ||
Comment 8•22 years ago
|
||
Neil: Isn't that what I said?
Attachment #85737 -
Flags: review+
Comment 9•22 years ago
|
||
> (and you don't mean to check if count is false).
But count can never be false (except in the 0 = false sense), it's a long int...
Anyway, timeless has checked in your version.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 10•22 years ago
|
||
vrfy'd fixed on all platforms with 2002.09.16.08 comm trunk builds.
Status: RESOLVED → VERIFIED
OS: Windows NT → All
Hardware: PC → All
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•