Minor web improvements in Calendar module

Monotone-Parent: d084a8dce4b609bce22f01e6482af7c505e1129b
Monotone-Revision: 162b436b68eff06f343e4554025a4cd63e47fc2f

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-07-27T19:30:05
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-07-27 19:30:05 +00:00
parent 388bc39c3c
commit 80b7a2a68d
3 changed files with 15 additions and 14 deletions

View File

@@ -1044,7 +1044,10 @@ function newBaseEventDIV(eventRep, event, eventText) {
textDiv.addClassName("text");
textDiv.update(eventText.replace(/(\\r)?\\n/g, "<BR/>"));
if (event[2] != null) {
if (event[2] == null) {
eventDiv.observe("selectstart", listRowMouseDownHandler);
}
else {
// Status field is defined -- user can read event
eventDiv.observe("mousedown", listRowMouseDownHandler);
eventDiv.observe("click", onCalendarSelectEvent);