Closed Bug 1561483 Opened 5 years ago Closed 5 years ago

Bad initialisation of calendar print dialog

Categories

(Calendar :: Dialogs, defect)

Lightning 68
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file)

The print dialog says this on the console when I open it:

NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "Cc[settings.layoutCId] is undefined" {file: "chrome://calendar/content/calendar-print-dialog.js" line: 205}]'[JavaScript Error: "Cc[settings.layoutCId] is undefined" {file: "chrome://calendar/content/calendar-print-dialog.js" line: 205}]' when calling method: [calIOperationListener::onOperationComplete]

That's caused by onchange the date pickers firing when they're created. It also seems to be the source of the multiple radio button selection seen in bug 1538688.

I fixed that, but then the date pickers weren't being initialised at all sometimes. What?! It turns out they were trying to run without the menulists inside them ready.

Attachment #9074075 - Flags: review?(philipp)
Attachment #9074075 - Flags: approval-calendar-beta?(philipp)
Attachment #9074075 - Flags: review?(philipp)
Attachment #9074075 - Flags: review+
Attachment #9074075 - Flags: approval-calendar-beta?(philipp)
Attachment #9074075 - Flags: approval-calendar-beta+

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/e0edf0280849
Fix bad initialisation of calendar print dialog. r=philipp

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 7.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: