Fix bug 501244 - Activating or deactivating any calendar clears the marker of the selected day. r=philipp

This commit is contained in:
Decathlon 2011-01-16 02:35:00 +01:00
Родитель 8a1f27efb3
Коммит 2b2b6aa535
1 изменённых файлов: 0 добавлений и 5 удалений

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

@ -802,11 +802,6 @@
if (this.mSelectedItems.length) {
this.mSelectedItems = [];
}
// Clear out the old selection, since it won't be valid after relayout
if (this.mSelectedDayBox) {
this.mSelectedDayBox.selected = false;
}
if (!this.mStartDate || !this.mEndDate) {
throw Components.results.NS_ERROR_FAILURE;