Bug 815815 - Minimonth bold days always get reloaded when click onto one of them. r=Fallen
DONTBUILD CLOSED TREE
This commit is contained in:
Родитель
485b877169
Коммит
aac6ecc3ac
|
@ -788,7 +788,7 @@
|
|||
aDate.setSeconds(0);
|
||||
aDate.setMilliseconds(0);
|
||||
// Don't fire onmonthchange event upon initialization
|
||||
var monthChanged = this.mEditorDate && (this.mEditorDate != aDate);
|
||||
var monthChanged = this.mEditorDate && (this.mEditorDate.value != aDate.value);
|
||||
this.mEditorDate = aDate; // only place mEditorDate is set.
|
||||
|
||||
if (this.mToday) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче