Closed Bug 441528 Opened 16 years ago Closed 16 years ago

Need a preference setting for the default state of "send attendees invitations via email"

Categories

(Calendar :: E-mail based Scheduling (iTIP/iMIP), enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: marcel, Assigned: dbo)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: 20080623

Is it possible to get a preference setting for the default state of the 'Send Attendees Invitations via Email' checkbox in the New Event dialog box?

Reproducible: Always

Steps to Reproduce:
1.
2.
3.



sairtesyob@farifluset.mailexpire.com wrote a manual fix for the default state:
1. navigate to "content/calendar/sun-calendar-event-dialog.js"
2. In the LoadDialog function, change the "sendInvitesCheckbox.checked" to "true" (change the one that's after the "else," that currently is "false," not the one with "X-MOZ-SEND-INVITATIONS")
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Whiteboard: [good first bug]
I posted this to support.mozilla.calendar as well:

I actually did set this as a preference, instead of hard coding, but I
thought it would make things easier for people who just wanted one or
the other...

To set the preference, I added the following two lines to lightning.js
(in defaults/preferences/):

// Enable "Send Invitations to Attendees" by default?
pref("calendar.attendees.sendemail",true);

Then, in the LoadDialog function, I just put:

else {
        sendInvitesCheckbox.checked =
getPrefSafe("calendar.attendees.sendemail",true);
    }

Perhaps someone can make a patch for it or include it in the next
version if there's enough of a need? 
Depends on: 431522
Assignee: nobody → daniel.boelzle
Whiteboard: [good first bug]
Target Milestone: --- → 0.9
fixed with bug 431522
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
The pref is "calendar.itip.sendemail"; default: true.
Checked in nightly build 2008073004 -> VERIFIED
Status: RESOLVED → VERIFIED
change with bug 409921:

Heading towards a generalized "Notify attendees" (bug 451018), I've changed the pref's name to "calendar.itip.notify".
You need to log in before you can comment on or make changes to this bug.