Monotone-Parent: 9f58c2b185464d4b3aca8502388330507e0621ab

Monotone-Revision: 3a8cd7db86f49087aed77cc4fba9b7ce69fa8b50

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-04-15T22:19:28
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-04-15 22:19:28 +00:00
parent 5acbdadbc6
commit f8de900dd7
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,10 @@
2010-04-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/WebServerResources/SchedulerUI.js (onDocumentKeydown): when
deleting an event, we must make sure that the even dialog
disappears, as it the case with the click on the corresponding
toolbar button.
* Tools/SOGoToolRemove.m: new sogo-tool utility to remove user
data from the database.

View File

@@ -2555,8 +2555,9 @@ function onDocumentKeydown(event) {
if (target.tagName != "INPUT") {
if (event.keyCode == Event.KEY_DELETE
|| (event.keyCode == Event.KEY_BACKSPACE && isMac())) {
$("eventDialog").hide();
deleteEvent();
Event.stop(event);
event.stop();
}
}
}