mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
위젯을 박스위젯 밖으로 꺼낼때 잘못된 곳에 들어가는 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2984 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9124d18a91
commit
f6a0403971
1 changed files with 1 additions and 2 deletions
|
|
@ -730,8 +730,7 @@ function widgetDrag(tobj, dx, dy) {
|
|||
var ll = parseInt(l,10) + parseInt(xWidth(tobj.parentNode),10);
|
||||
var tt = parseInt(t,10) + parseInt(xHeight(tobj.parentNode),10);
|
||||
if( (tobj.xDPX < l || tobj.xDPX > ll) || (tobj.xDPY < t || tobj.xDPY > tt) ) {
|
||||
var target_obj = tobj.parentNode;
|
||||
tobj.parentNode.parentNode.insertBefore(tobj, tobj.parentNode);
|
||||
zonePageObj.insertBefore(tobj, tobj.parentNode.parentNode.parentNode);
|
||||
doFitBorderSize();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue