diff --git a/src/calendar/widget/calendar.js b/src/calendar/widget/calendar.js index a44b8b4..f6adba7 100644 --- a/src/calendar/widget/calendar.js +++ b/src/calendar/widget/calendar.js @@ -68,7 +68,7 @@ require({ _shouldDestroyOnUpdate: false, postCreate: function () { - console.debug('Calendar - startup'); + console.debug('Calendar - postCreate'); this._colors = this.notused; //workaround for legacy users this._availableViews = this.notused1; //workaround for legacy users @@ -77,7 +77,10 @@ require({ this._eventSource = []; this._allowCreate = this.editable || (this.neweventmf !== null && this.neweventmf !== ''); this._shouldDestroyOnUpdate = this._hasDynamicCalendarPropertiesConfigured(); - + }, + + startup: function () { + console.debug('Calendar - startup'); //make a calendarbox this._calendarBox = dom.create('div', { 'id': 'calendar_' + this.id @@ -87,7 +90,6 @@ require({ this._fcNode = $('#calendar_' + this.id); this._renderCalendar(null); - }, update: function (obj, callback) { diff --git a/src/package.xml b/src/package.xml index 61b5957..a8d324d 100644 --- a/src/package.xml +++ b/src/package.xml @@ -1,6 +1,6 @@ - + diff --git a/test/Widgets/Calendar.mpk b/test/Widgets/Calendar.mpk index 0b34fcb..3cef16f 100644 Binary files a/test/Widgets/Calendar.mpk and b/test/Widgets/Calendar.mpk differ diff --git a/test/[Test] Calendar Widget.mpr b/test/[Test] Calendar Widget.mpr index 9823e7b..2c3d1ed 100644 Binary files a/test/[Test] Calendar Widget.mpr and b/test/[Test] Calendar Widget.mpr differ