зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
56f0fa3b44
Коммит
988cb01b6c
|
@ -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() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче