use initialized property in decorated views

NEW
Unassigned

Status

defect
12 years ago
12 years ago

People

(Reporter: thomas.benisch, Unassigned)

Tracking

Details

Reporter

Description

12 years ago
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.
Reporter

Comment 1

12 years ago
This is a follow-up issue of Bug 349520.
Reporter

Updated

12 years ago
Assignee: thomas.benisch → michael.buettner
Assignee: michael.buettner → nobody
You need to log in before you can comment on or make changes to this bug.