Closed Bug 540209 Opened 15 years ago Closed 14 years ago

Kill MsgReload

Categories

(SeaMonkey :: MailNews: General, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.1a1

People

(Reporter: mnyromyr, Assigned: ewong)

References

()

Details

(Whiteboard: [extension love])

Attachments

(1 file, 1 obsolete file)

mailWindowOverlay.js:

2016 function MsgReload()
2017 {
2018     ReloadMessage();
2019 }

TB3 doesn't have this function anymore either, it's just using ReloadMessage directly everywhere. 
This means, as an extension author writing for both SM and TB, you'd probably end up (unnecessarily) special-casing every call to that function, because you can't be sure that we don't do extra stuff in MsgReload...

Let's just remove MsgReload() and call ReloadMessage() instead.
Severity: normal → trivial
Flags: in-testsuite-
Version: unspecified → Trunk
Assignee: nobody → edmund
Status: NEW → ASSIGNED
Attachment #429479 - Flags: review?
Attachment #429479 - Flags: review? → review?(mnyromyr)
Attachment #429479 - Attachment is obsolete: true
Attachment #429480 - Flags: review?(mnyromyr)
Attachment #429479 - Flags: review?(mnyromyr)
(In reply to comment #2)
> Created an attachment (id=429480) [details]
> Previous patch invalid.   Added one too many 's' to ReloadMessage()

As well as removing function MsgReload() from 
suite/mailnews/mailWindowOverlay.js.
Comment on attachment 429480 [details] [diff] [review]
Previous patch invalid.   Added one too many 's' to ReloadMessage() [Checkin: comment 6]

Sorry for the delay. :(
Attachment #429480 - Flags: review?(mnyromyr) → review+
Keywords: checkin-needed
Attachment #429480 - Flags: superreview+
Comment on attachment 429480 [details] [diff] [review]
Previous patch invalid.   Added one too many 's' to ReloadMessage() [Checkin: comment 6]

>            Keywords|                            |checkin-needed

In SM mail, you need sr or moa, see <http://www.seamonkey-project.org/dev/review-and-flags>.
That said, moa=me.
Comment on attachment 429480 [details] [diff] [review]
Previous patch invalid.   Added one too many 's' to ReloadMessage() [Checkin: comment 6]

http://hg.mozilla.org/comm-central/rev/1e618f0d591d
Attachment #429480 - Attachment description: Previous patch invalid. Added one too many 's' to ReloadMessage() → Previous patch invalid. Added one too many 's' to ReloadMessage() [Checkin: comment 6]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1a1
Whiteboard: [good first bug][extension love] → [extension love]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: