Bug #3680 » 0010-Permit-WDialog-resize-outside-of-body.patch
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);
|
||
}
|
||
}
|
||