Open Bug 373892 Opened 18 years ago Updated 3 years ago

use initialized property in decorated views

Categories

(Calendar :: Calendar Frontend, defect)

x86
Windows Server 2003
defect

Tracking

(Not tracked)

People

(Reporter: thomas.benisch, Unassigned)

Details

The calendar-decorated-base-view binding (calendar/base/content/calendar-decorated-base.xml) provides an initialized property which should be used instead of using code fragments like if (!this.startDay || !this.endDay) { // don't refresh if we're not initialized return; } By using the initialized property the code fragement looks like if (!this.initialized) { // don't refresh if we're not initialized return; } The affected files are: calendar\base\content\calendar-decorated-month-view.xml calendar\base\content\calendar-decorated-multiday-base-view.xml calendar\base\content\calendar-decorated-multiweek-view.xml calendar\base\content\calendar-decorated-week-view.xml As the initialized property also checks the displayCalendar property in addition to the startDay and endDay property, those changes should be tested thoroughly.
This is a follow-up issue of Bug 349520.
Assignee: thomas.benisch → michael.buettner
Assignee: michael.buettner → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.