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:
Wolfgang Sourdeau
2008-04-15 20:12:51 +00:00
parent 20e2fea98b
commit 7c2e82cef8
16 changed files with 1147 additions and 1153 deletions

View File

@@ -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;
}