JavaScript: avoid 404 error when double-clicking on D&T event in the events list.

Monotone-Parent: 2a112877a8784837004167070989be6cdda17134
Monotone-Revision: 47f2f8615e2de608097b0eb96881d051d4b7e9a6

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-10-14T20:29:46
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-10-14 20:29:46 +00:00
parent 27fd38f96f
commit f281877100
2 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
* UI/WebServerResources/SchedulerUI.js (changeCalendarDisplay):
don't highlight the day selection when in the day view.
(eventsListCallback): don't popup event window when
double-clicking on D&T events in the top list of the calendar module.
* UI/Scheduler/UIxCalListingActions.m (_fixDates:): start/end
dates must be adjust for DST only when dealing with the day based

View File

@@ -604,7 +604,9 @@ function eventsListCallback(http) {
row.hour = startDate.getHourString();
row.observe("mousedown", onRowClick);
row.observe("selectstart", listRowMouseDownHandler);
row.observe("dblclick", editDoubleClickedEvent);
if (data[i][2] != null)
// Status is defined -- event is readable
row.observe("dblclick", editDoubleClickedEvent);
row.attachMenu("eventsListMenu");
var td = $(document.createElement("td"));