diff options
| author | Aaron Bohy <aab@odoo.com> | 2020-05-20 09:33:04 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-05-20 09:33:04 +0000 |
| commit | 798931fc39af963a6fae4feae5e35ccf362f6235 (patch) | |
| tree | b53fbf1e11470c82eff5e8824db3aa90d19bc859 /addons | |
| parent | e33e6682137c5a6ca1623f0ae54d184de1f1b443 (diff) | |
[REF] web(_editor): move jquery.nearest lib to web
This lib is also used by the Gantt view, so we move it to the
common basis between web_editor and web_gantt, which is web.
Part of task 2205607
closes odoo/odoo#51606
Related: odoo/enterprise#9740
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web/static/lib/nearest/README.md (renamed from addons/web_editor/static/lib/nearest/README.md) | 0 | ||||
| -rw-r--r-- | addons/web/static/lib/nearest/bower.json (renamed from addons/web_editor/static/lib/nearest/bower.json) | 0 | ||||
| -rw-r--r-- | addons/web/static/lib/nearest/jquery.nearest.js (renamed from addons/web_editor/static/lib/nearest/jquery.nearest.js) | 0 | ||||
| -rw-r--r-- | addons/web/static/lib/nearest/jquery.nearest.min.js (renamed from addons/web_editor/static/lib/nearest/jquery.nearest.min.js) | 0 | ||||
| -rw-r--r-- | addons/web/static/lib/nearest/nearest.jquery.json (renamed from addons/web_editor/static/lib/nearest/nearest.jquery.json) | 0 | ||||
| -rw-r--r-- | addons/web/views/webclient_templates.xml | 1 | ||||
| -rw-r--r-- | addons/web_editor/views/editor.xml | 2 |
7 files changed, 2 insertions, 1 deletions
diff --git a/addons/web_editor/static/lib/nearest/README.md b/addons/web/static/lib/nearest/README.md index cc40c5fed38..cc40c5fed38 100644 --- a/addons/web_editor/static/lib/nearest/README.md +++ b/addons/web/static/lib/nearest/README.md diff --git a/addons/web_editor/static/lib/nearest/bower.json b/addons/web/static/lib/nearest/bower.json index 27bad9c8785..27bad9c8785 100644 --- a/addons/web_editor/static/lib/nearest/bower.json +++ b/addons/web/static/lib/nearest/bower.json diff --git a/addons/web_editor/static/lib/nearest/jquery.nearest.js b/addons/web/static/lib/nearest/jquery.nearest.js index 7daab9ae209..7daab9ae209 100644 --- a/addons/web_editor/static/lib/nearest/jquery.nearest.js +++ b/addons/web/static/lib/nearest/jquery.nearest.js diff --git a/addons/web_editor/static/lib/nearest/jquery.nearest.min.js b/addons/web/static/lib/nearest/jquery.nearest.min.js index 9bd37ca8733..9bd37ca8733 100644 --- a/addons/web_editor/static/lib/nearest/jquery.nearest.min.js +++ b/addons/web/static/lib/nearest/jquery.nearest.min.js diff --git a/addons/web_editor/static/lib/nearest/nearest.jquery.json b/addons/web/static/lib/nearest/nearest.jquery.json index 9c9ee5c05c8..9c9ee5c05c8 100644 --- a/addons/web_editor/static/lib/nearest/nearest.jquery.json +++ b/addons/web/static/lib/nearest/nearest.jquery.json diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index e02542a2aca..aaf0315bdb8 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -619,6 +619,7 @@ <script type="text/javascript" src="/web/static/lib/ace/mode-xml.js"></script> <script type="text/javascript" src="/web/static/lib/ace/mode-js.js"></script> <script type="text/javascript" src="/web/static/lib/Chart/Chart.js"></script> + <script type="text/javascript" src="/web/static/lib/nearest/jquery.nearest.js"/> <script type="text/javascript" src="/web/static/lib/daterangepicker/daterangepicker.js"></script> <script type="text/javascript" src="/web/static/src/js/libs/daterangepicker.js"></script> diff --git a/addons/web_editor/views/editor.xml b/addons/web_editor/views/editor.xml index ad0e4245b76..0021ee56a3f 100644 --- a/addons/web_editor/views/editor.xml +++ b/addons/web_editor/views/editor.xml @@ -20,7 +20,7 @@ <script type="text/javascript" src="/web_editor/static/lib/cropperjs/cropper.js"/> <script type="text/javascript" src="/web_editor/static/lib/jquery-cropper/jquery-cropper.js"/> <script type="text/javascript" src="/web_editor/static/lib/jQuery.transfo.js"/> - <script type="text/javascript" src="/web_editor/static/lib/nearest/jquery.nearest.js"/> + <script type="text/javascript" src="/web/static/lib/nearest/jquery.nearest.js"/> <!-- odoo utils --> |
