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

VERIFIED FIXED in 0.9

Status

--
enhancement
VERIFIED FIXED
11 years ago
10 years ago

People

(Reporter: marcel, Assigned: dbo)

Tracking

unspecified

Details

(Reporter)

Description

11 years ago
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")
(Assignee)

Updated

11 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Whiteboard: [good first bug]

Comment 1

11 years ago
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? 
(Assignee)

Updated

10 years ago
Depends on: 431522
(Assignee)

Updated

10 years ago
Assignee: nobody → daniel.boelzle
Whiteboard: [good first bug]
Target Milestone: --- → 0.9
(Assignee)

Comment 2

10 years ago
fixed with bug 431522
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

10 years ago
The pref is "calendar.itip.sendemail"; default: true.

Comment 4

10 years ago
Checked in nightly build 2008073004 -> VERIFIED
Status: RESOLVED → VERIFIED
(Assignee)

Comment 5

10 years ago
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.