Skip to content

Commit

Permalink
#2122 상자위젯 간에 위치 이동이 안 되는 문제 고침
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Feb 22, 2018
1 parent 176fb2b commit 0aab3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/widget/tpl/js/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ function widgetDrag(tobj, dx, dy) {
for(var i=0;i<widgetList.length;i++) {
var target_obj = widgetList[i];
var widget = target_obj.getAttribute("widget");
if(widget == 'widgetBox' || target_obj.parentNode != zonePageObj) continue;
if(target_obj.parentNode != zonePageObj) continue;
var l = xPageX(target_obj);
var t = xPageY(target_obj);
var ll = parseInt(l,10) + parseInt(xWidth(target_obj),10);
Expand Down

0 comments on commit 0aab3d8

Please sign in to comment.