summaryrefslogtreecommitdiff
path: root/addons/web/views
diff options
context:
space:
mode:
authorLaurent Stukkens (LTU) <ltu@odoo.com>2020-07-02 16:08:10 +0000
committerLaurent Stukkens (LTU) <ltu@odoo.com>2020-07-08 12:13:33 +0000
commit6df67a28c2f113572acd4a3db19ab6b1bd37e7da (patch)
tree91bd842dbfbed5cb96a7b706adcc9893e241ed3e /addons/web/views
parentec7986cba3953dc6dfe16f0b1e0bdd13dac2b347 (diff)
[REF] web_editor,web: reuse the autoscroll on drag feature
Prior to this commit, the autoscroll on drag feature was accessible and only used in the web_editor application. After this commit, the autoscroll on drag feature will be available in the web application and has been refactored in order to allow its usage in other application (as for the sign application). task-2280965 closes odoo/odoo#54072 Related: odoo/enterprise#11656 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/views')
-rw-r--r--addons/web/views/webclient_templates.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml
index eaef3884128..c074328ac60 100644
--- a/addons/web/views/webclient_templates.xml
+++ b/addons/web/views/webclient_templates.xml
@@ -172,6 +172,7 @@
<script type="text/javascript" src="/web/static/src/js/widgets/name_and_signature.js"></script>
<script type="text/javascript" src="/web/static/src/js/widgets/notification.js"></script>
<script type="text/javascript" src="/web/static/src/js/widgets/rainbow_man.js"></script>
+ <script type="text/javascript" src="/web/static/src/js/core/smooth_scroll_on_drag.js"></script>
<script type="text/javascript" src="/web/static/src/js/widgets/colorpicker.js"></script>
<script type="text/javascript" src="/web/static/src/js/widgets/translation_dialog.js"></script>
<script type="text/javascript" src="/web/static/src/js/libs/zoomodoo.js"></script>