Monotone-Parent: ec22eec31a634d17211dbfb68bdc49ab1baca4aa

Monotone-Revision: 0fe27b5739f7397e525075ec4060c837ba896b62

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-11-09T22:55:04
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-11-09 22:55:04 +00:00
parent 178f55b567
commit d6f7301d1c
6 changed files with 186 additions and 214 deletions
+5 -5
View File
@@ -33,14 +33,14 @@ var SOGoDragHandlesInterface = {
} else if (this.dhType == 'vertical') {
this.origY = this.offsetTop;
this.origUpper = this.upperBlock.offsetHeight;
delta = event.clientY - this.offsetTop;
delta = event.clientY - this.offsetTop - 5;
this.origLower = this.lowerBlock.offsetTop - 5;
document.body.style.cursor = "n-resize";
}
document._currentDragHandle = this;
document.addEventListener('mouseup', this.documentStopHandleDragging, true);
document.addEventListener('mousemove', this.documentMove, true);
document.addEventListener("mouseup", this.documentStopHandleDragging, true);
document.addEventListener("mousemove", this.documentMove, true);
this.move(event);
event.cancelBubble = true;
}
@@ -70,8 +70,8 @@ var SOGoDragHandlesInterface = {
this.upperBlock.style.height = (this.origUpper + deltaY - delta) + 'px;';
}
document.removeEventListener('mouseup', this.documentStopHandleDragging, true);
document.removeEventListener('mousemove', this.documentMove, true);
document.removeEventListener("mouseup", this.documentStopHandleDragging, true);
document.removeEventListener("mousemove", this.documentMove, true);
document.body.setAttribute('style', '');
this.move(event);