[FIX] web: add mouseenter when triggering a dra&drop in tests

This commit is contained in:
Vincent Schippefilt
2018-09-20 11:10:34 +02:00
parent cfbdba7ff2
commit a0ce697b05
@@ -677,7 +677,7 @@ function dragAndDrop($el, $to, options) {
toOffset.left += bound.left;
toOffset.top += bound.top;
}
$el.trigger($.Event("mouseenter"));
if (!(options && options.continueMove)) {
elementCenter.left += $el.outerWidth()/2;
elementCenter.top += $el.outerHeight()/2;