Closed
Bug 472386
Opened 16 years ago
Closed 16 years ago
Port |Bug 291341 - switching from drafts folder to saved search folder does not remove "Edit Draft..." button| to SeaMonkey
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.0a3
People
(Reporter: InvisibleSmiley, Assigned: InvisibleSmiley)
Details
Attachments
(1 file, 1 obsolete file)
3.49 KB,
patch
|
mnyromyr
:
review+
InvisibleSmiley
:
superreview+
|
Details | Diff | Splinter Review |
While going through the bugs for my next blog post I stumbled over Bug 375381 comments 5 and 8:
"(And in fact, SeaMonkey does not show the Edit button in this case.)"
"You don't see it in SeaMonkey because SM didn't get bug 291341's switch from a
global that's only set to true in msgMail3PaneWindow.js to looking at the
draftiness of the msg's folder, whether or not it's currently being displayed
in that or any folder."
This bug is for porting that. Guess who I'll ask for review... ;-)
Patch coming up.
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #355664 -
Flags: review?(mnyromyr)
Comment 2•16 years ago
|
||
Comment on attachment 355664 [details] [diff] [review]
Patch fixing bug 291341 and bug 375381 for SM
Looks good.
Attachment #355664 -
Flags: review?(mnyromyr) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #355664 -
Flags: superreview?(neil)
Comment 3•16 years ago
|
||
Comment on attachment 355664 [details] [diff] [review]
Patch fixing bug 291341 and bug 375381 for SM
[I don't see anything relevant to bug 375381 in this patch.]
>+ var msgHdr;
>+ try
>+ {
>+ msgHdr = gDBView.hdrForFirstSelectedMessage;
>+ }
>+ catch (ex)
>+ {
>+ return;
>+ }
>+ const nsMsgFolderFlags = Components.interfaces.nsMsgFolderFlags;
>+ if (IsSpecialFolder(msgHdr.folder, nsMsgFolderFlags.Drafts, true))
>+ document.getElementById("editMessageBox").collapsed = false;
I would put all of the code inside the try block, thus avoiding the separate var msgHdr and return, although I'm not sure Mnyromyr would like that.
Attachment #355664 -
Flags: superreview?(neil) → superreview+
Comment 4•16 years ago
|
||
> I would put all of the code inside the try block, thus avoiding the separate
> var msgHdr and return, although I'm not sure Mnyromyr would like that.
Fine by me...
Assignee | ||
Comment 5•16 years ago
|
||
(In reply to comment #3)
> (From update of attachment 355664 [details] [diff] [review])
> [I don't see anything relevant to bug 375381 in this patch.]
True. I just wanted to express that Edit Draft will also work with standalone windows in SM when this bug is fixed.
> I would put all of the code inside the try block, thus avoiding the separate
> var msgHdr and return
Done. Re-requesting review just to be sure.
Attachment #355664 -
Attachment is obsolete: true
Attachment #357691 -
Flags: superreview+
Attachment #357691 -
Flags: review?(mnyromyr)
Updated•16 years ago
|
Attachment #357691 -
Flags: review?(mnyromyr) → review+
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 6•16 years ago
|
||
Comment on attachment 357691 [details] [diff] [review]
Patch v2, sr=neil
[Checkin: Comment 6]
http://hg.mozilla.org/comm-central/rev/494adf308547
Attachment #357691 -
Attachment description: Patch v2, sr=neil → Patch v2, sr=neil
[Checkin: Comment 6]
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.0a3
You need to log in
before you can comment on or make changes to this bug.
Description
•