From 0a3dfef4f69ee5d58c39f0467f5a20278b1bfd8c Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 25 May 2007 15:40:05 +0000 Subject: [PATCH] Monotone-Parent: 32ac613ce54828e76c41d1e1457a982917bf0b8e Monotone-Revision: 0f36b33a495ffd3bef8582e162ec509cf0681dd4 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-05-25T15:40:05 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/SOGoDragHandles.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/UI/WebServerResources/SOGoDragHandles.js b/UI/WebServerResources/SOGoDragHandles.js index 82502a776..0e5ea642a 100644 --- a/UI/WebServerResources/SOGoDragHandles.js +++ b/UI/WebServerResources/SOGoDragHandles.js @@ -15,8 +15,8 @@ var SOGoDragHandlesInterface = { stopHandleDraggingBinded: null, moveBinded: null, bind: function () { - this.startHandleDraggingBinded = this.startHandleDragging.bindAsEventListener(this); - Event.observe(this, "mousedown", this.startHandleDraggingBinded, false); + this.startHandleDraggingBound = this.startHandleDragging.bindAsEventListener(this); + Event.observe(this, "mousedown", this.startHandleDraggingBound, false); this.onmousedown = function() { return false } }, _determineType: function () { @@ -49,10 +49,10 @@ var SOGoDragHandlesInterface = { this.origLower = this.lowerBlock.offsetTop - 5; document.body.style.cursor = "n-resize"; } - this.stopHandleDraggingBinded = this.stopHandleDragging.bindAsEventListener(this); - Event.observe(document.body, "mouseup", this.stopHandleDraggingBinded, true); - this.moveBinded = this.move.bindAsEventListener(this); - Event.observe(document.body, "mousemove", this.moveBinded, true); + this.stopHandleDraggingBound = this.stopHandleDragging.bindAsEventListener(this); + Event.observe(document.body, "mouseup", this.stopHandleDraggingBound, true); + this.moveBound = this.move.bindAsEventListener(this); + Event.observe(document.body, "mousemove", this.moveBound, true); this.move(event); event.cancelBubble = true; } @@ -74,8 +74,8 @@ var SOGoDragHandlesInterface = { this.upperBlock.style.height = (this.origUpper + deltaY - delta) + 'px'; } - Event.stopObserving(document.body, "mouseup", this.stopHandleDraggingBinded, true); - Event.stopObserving(document.body, "mousemove", this.moveBinded, true); + Event.stopObserving(document.body, "mouseup", this.stopHandleDraggingBound, true); + Event.stopObserving(document.body, "mousemove", this.moveBound, true); document.body.setAttribute('style', '');