diff options
| author | Vincent Schippefilt <vsc@odoo.com> | 2018-09-19 18:33:45 +0200 |
|---|---|---|
| committer | Vincent Schippefilt <vsc@odoo.com> | 2018-09-20 11:10:34 +0200 |
| commit | a0ce697b0550f412f93f0dbcb8a3c8aea4d23651 (patch) | |
| tree | e36f743b044dc402299c951299c4998faef815bb | |
| parent | cfbdba7ff2e4c345a3b17bab2e214e06f93843af (diff) | |
[FIX] web: add mouseenter when triggering a dra&drop in tests
| -rw-r--r-- | addons/web/static/tests/helpers/test_utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/tests/helpers/test_utils.js b/addons/web/static/tests/helpers/test_utils.js index 2cc51ac6d19..44763bc42b9 100644 --- a/addons/web/static/tests/helpers/test_utils.js +++ b/addons/web/static/tests/helpers/test_utils.js @@ -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; |
