mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 22:35:22 +00:00
SoObjects/Appointments/GNUmakefile
Monotone-Parent: 18c8420c0a0c752ea4dd761f934a473b321568f8 Monotone-Revision: b2699a981cd5458fbd1da1a9a72992020a29a4fc Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-12-14T21:20:13 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -12,11 +12,15 @@ var SOGODragAndDropSourceInterface = {
|
||||
this.addEventListener("mousedown", this.dragGestureMouseDownHandler, false);
|
||||
},
|
||||
dragGestureMouseDownHandler: function (event) {
|
||||
// log("mousedown");
|
||||
document._dragGestureStartPoint = new Array(event.clientX, event.clientY);
|
||||
document._currentMouseGestureObject = this;
|
||||
window.addEventListener("mousemove", this.dragGestureMouseMoveHandler, false);
|
||||
window.addEventListener("mouseup", this.dragGestureMouseUpHandler, false);
|
||||
if (event.button == 0) {
|
||||
document._dragGestureStartPoint = new Array(event.clientX,
|
||||
event.clientY);
|
||||
document._currentMouseGestureObject = this;
|
||||
window.addEventListener("mousemove", this.dragGestureMouseMoveHandler,
|
||||
false);
|
||||
window.addEventListener("mouseup", this.dragGestureMouseUpHandler,
|
||||
false);
|
||||
}
|
||||
},
|
||||
dragGestureMouseUpHandler: function (event) {
|
||||
log("mouseup");
|
||||
|
||||
Reference in New Issue
Block a user