Closed Bug 700775 Opened 13 years ago Closed 12 years ago

Wrong buttons whether to send email confirmation or not

Categories

(Calendar :: Dialogs, defect)

Lightning 1.0b7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hub, Assigned: bv1578)

References

Details

Attachments

(2 files)

I accepted a meeting invite. I got the message "Would you like to send out notification E-Mail now?" with the two buttons [Cancel] [OK]. This is confusing. Buttons should be [No] [Yes]. See screenshot.
Summary: Wrong buttons when whether to send email confirmation or not. → Wrong buttons whether to send email confirmation or not
I totally agree with that !
Problem still there in 1.2b3 Can you please have a look at it ? Thanks
Attached patch patch - v1Splinter Review
This patch should fix.
Assignee: nobody → bv1578
Status: NEW → ASSIGNED
Attachment #708787 - Flags: review?(matthew.mecca)
Comment on attachment 708787 [details] [diff] [review] patch - v1 Review of attachment 708787 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. r=mmecca ::: calendar/itip/calItipEmailTransport.js @@ +214,5 @@ > + null, > + null, > + null, > + cal.calGetString("lightning", "imipSendMail.Outlook2000CompatMode.text", null, "lightning"), > + inoutCheck) != 0) { Since a return value of zero evaluates to false, and non-zero values to true, you can just use: if (Services.prompt.confirmEx(...)) instead of: if (Services.prompt.confirmEx(...) != 0)
Attachment #708787 - Flags: review?(matthew.mecca) → review+
(In reply to Matthew Mecca [:mmecca] from comment #5) > Since a return value of zero evaluates to false, and non-zero values to > true, you can just use: > > if (Services.prompt.confirmEx(...)) Corrected in the changeset. Pushed to comm-central: http://hg.mozilla.org/comm-central/rev/49fedca3c4b6
Attachment #708787 - Flags: approval-calendar-release?(philipp)
Attachment #708787 - Flags: approval-calendar-beta?(philipp)
Attachment #708787 - Flags: approval-calendar-aurora?(philipp)
Matthew, could you also approve the other branches? ;)
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → 2.3
Attachment #708787 - Flags: approval-calendar-release?(philipp)
Attachment #708787 - Flags: approval-calendar-release+
Attachment #708787 - Flags: approval-calendar-beta?(philipp)
Attachment #708787 - Flags: approval-calendar-beta+
Attachment #708787 - Flags: approval-calendar-aurora?(philipp)
Attachment #708787 - Flags: approval-calendar-aurora+
Whiteboard: [wanted-1.9.x]
Target Milestone: 2.3 → 2.1
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: 2.1 → 1.9.1
Whiteboard: [wanted-1.9.x]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: