Bug 390495 - datepicker combo from calendar tab is expanded after starting thunderbird, patch=bugzilla.mozilla.org-1@chsc.dk, r=mickey

This commit is contained in:
michael.buettner%sun.com 2007-11-29 16:34:24 +00:00
Родитель 95488e4182
Коммит be153bb535
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -380,7 +380,8 @@
aDate.setMinutes(0);
aDate.setSeconds(0);
aDate.setMilliseconds(0);
var monthChanged = (this.mEditorDate != aDate);
// Don't fire onmonthchange event upon initialization
var monthChanged = this.mEditorDate && (this.mEditorDate != aDate);
this.mEditorDate = aDate; // only place mEditorDate is set.
if (this.mToday) {