Fix for bug #539.

See ChangeLog

Monotone-Parent: 1a92d62c7bce360bb60b9ff6a4b682d804803349
Monotone-Revision: f3830c65328146810871090fdfd037458b8d87af

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-04-02T17:33:29
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2010-04-02 17:33:29 +00:00
parent 48d7aa958c
commit 1a5a5fe13d
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2010-04-02 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/SchedulerUI.js (onClickableCellsDblClick):
hack to ignore double-click in the scrollbar in the month view &
fix for Firefox.
2010-03-31 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Tools/sogo-slapd-sockd.m, Tools/SOGoSockDOperation.m,

View File

@@ -1100,7 +1100,8 @@ function scrollDayView(scrollEvent) {
function onClickableCellsDblClick(event) {
var target = getTarget(event);
if (target.hasClassName("dayHeader") || this.clientHeight >= this.scrollHeight) {
// Hack to ignore double-click in the scrollbar
if (target.hasClassName("dayHeader") || (this.scrollHeight - this.clientHeight <= 1)) {
newEventFromWidget(this, 'event');
Event.stop(event);
}