bug 352071 - Iterates over selected items when modifying or deleting. patch by michael.buettner@sun.com, r1=thomas.benisch, r2=dmose

This commit is contained in:
mattwillis%gmail.com 2006-09-12 22:28:12 +00:00
Родитель 56f0fa3b44
Коммит 988cb01b6c
1 изменённых файлов: 8 добавлений и 2 удалений

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

@ -323,11 +323,17 @@ function ltnFinish() {
}
function ltnEditSelectedItem() {
calendarViewController.modifyOccurrence(currentView().selectedItem);
var selectedItems = currentView().getSelectedItems({});
for each (var item in selectedItems) {
calendarViewController.modifyOccurrence(item);
}
}
function ltnDeleteSelectedItem() {
calendarViewController.deleteOccurrence(currentView().selectedItem);
var selectedItems = currentView().getSelectedItems({});
for each (var item in selectedItems) {
calendarViewController.deleteOccurrence(item);
}
}
function ltnCreateEvent() {