Bug 326653 Can't select allday-events in week-view. patch by michael.buettner@sun.com r=jminta

This commit is contained in:
jminta%gmail.com 2006-02-11 01:05:57 +00:00
Родитель 679191cfb8
Коммит 2a06f8b7fa
1 изменённых файлов: 8 добавлений и 1 удалений

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

@ -1898,6 +1898,7 @@
if (this.mSelectedItem) {
var cols = this.findColumnsForItem(this.mSelectedItem);
for each (col in cols) {
col.header.selectOccurrence(null);
col.column.selectOccurrence(null);
}
}
@ -1905,8 +1906,14 @@
if (val) {
var cols = this.findColumnsForItem(val);
if (cols.length > 0) {
var start = val.startDate;
for each (col in cols) {
col.column.selectOccurrence(val);
if(start.isDate) {
col.header.selectOccurrence(val);
}
else {
col.column.selectOccurrence(val);
}
}
if(this.mController.selectionManager)
this.mController.selectionManager.replaceSelection(val);