Project

General

Profile

Bug #3680 » 0010-Permit-WDialog-resize-outside-of-body.patch

Bruce Toll, 11/25/2014 10:56 PM

View differences:

src/js/Resizable.js
}
function onMouseUp(event) {
el.onmousemove = null;
el.onmouseup = null;
$(window.document).unbind("mousemove", onMouseMove);
$(window.document).unbind("mouseup", onMouseUp);
if (handler)
handler(WT.pxself(el, 'width'), WT.pxself(el, 'height'), true);
......
cheight = el.clientHeight;
WT.capture(null);
WT.capture(el);
el.onmousemove = onMouseMove;
el.onmouseup = onMouseUp;
$(window.document).bind("mousemove", onMouseMove);
$(window.document).bind("mouseup", onMouseUp);
}
}
(1-1/2)