Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dragDropElem should trigger drop events on destElem (not dragElem), (…

…Fixes: #43)
  • Loading branch information...
commit f842c23e7e0d7c517b5c4c6a1c38a0f998b93450 1 parent 4415040
Johan Euphrosine proppy authored admc committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 windmill/html/js/controller/controller.js
4 windmill/html/js/controller/controller.js
View
@@ -286,9 +286,9 @@ windmill.controller = new function () {
windmill.controller.moveCount--;
if (windmill.controller.moveCount == 0){
- windmill.events.triggerMouseEvent(windmill.controller.dragElem, 'mouseup', true, startx, starty);
+ windmill.events.triggerMouseEvent(windmill.controller.destElem, 'mouseup', true, startx, starty);
if (!windmill.browser.isIE){
- windmill.events.triggerMouseEvent(windmill.controller.dragElem, 'click', true, startx, starty);
+ windmill.events.triggerMouseEvent(windmill.controller.destElem, 'click', true, startx, starty);
}
setTimeout('windmill.controller.doRem()', 1000);
}
Please sign in to comment.
Something went wrong with that request. Please try again.