mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-06 05:48:50 +00:00
Monotone-Parent: ac86bf6af212996c20d42a2d5075ed984200b34c
Monotone-Revision: 74220fe29f9fafe1f0463c9877d6a9f47436e728 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-04-15T20:12:51 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -18,7 +18,7 @@ var SOGoDragHandlesInterface = {
|
||||
moveBound: null,
|
||||
bind: function () {
|
||||
this.startHandleDraggingBound = this.startHandleDragging.bindAsEventListener(this);
|
||||
Event.observe(this, "mousedown", this.startHandleDraggingBound, false);
|
||||
this.observe("mousedown", this.startHandleDraggingBound, false);
|
||||
},
|
||||
_determineType: function () {
|
||||
if (this.leftBlock && this.rightBlock)
|
||||
@@ -47,9 +47,9 @@ var SOGoDragHandlesInterface = {
|
||||
document.body.setStyle({ cursor: "n-resize" });
|
||||
}
|
||||
this.stopHandleDraggingBound = this.stopHandleDragging.bindAsEventListener(this);
|
||||
Event.observe(document.body, "mouseup", this.stopHandleDraggingBound, true);
|
||||
document.body.observe("mouseup", this.stopHandleDraggingBound, true);
|
||||
this.moveBound = this.move.bindAsEventListener(this);
|
||||
Event.observe(document.body, "mousemove", this.moveBound, true);
|
||||
document.body.observe("mousemove", this.moveBound, true);
|
||||
this.move(event);
|
||||
event.cancelBubble = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user