see changelog

Monotone-Parent: 399ddcc3b0b509af5a4d05cd434475774187e48c
Monotone-Revision: 0cee430f2a0dfc64e4d3616db2934929c59abbbf

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2007-12-03T14:13:10
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2007-12-03 14:13:10 +00:00
parent 1bbd867cbe
commit 296245f3c1
29 changed files with 888 additions and 24 deletions
+12 -3
View File
@@ -81,12 +81,19 @@ function editEvent() {
if (listOfSelection) {
var nodes = listOfSelection.getSelectedRows();
if (nodes.length == 0) {
window.alert(labels["Please select an event or a task."]);
return false;
}
for (var i = 0; i < nodes.length; i++)
_editEventId(nodes[i].getAttribute("id"),
nodes[i].calendar);
} else if (selectedCalendarCell) {
_editEventId(selectedCalendarCell[0].cname,
selectedCalendarCell[0].calendar);
_editEventId(selectedCalendarCell[0].cname,
selectedCalendarCell[0].calendar);
} else {
window.alert(labels["Please select an event or a task."]);
}
return false; /* stop following the link */
@@ -135,6 +142,8 @@ function deleteEvent() {
}
_batchDeleteEvents();
}
} else {
window.alert(labels["Please select an event or a task."]);
}
}
else if (selectedCalendarCell) {
@@ -150,7 +159,7 @@ function deleteEvent() {
}
}
else
window.alert("no selection");
window.alert(labels["Please select an event or a task."]);
return false;
}