summaryrefslogtreecommitdiff
path: root/addons/website_form/views
diff options
context:
space:
mode:
authorfwi-odoo <fwi@odoo.com>2016-11-23 16:03:35 +0100
committerfwi-odoo <fwi@odoo.com>2017-01-30 10:29:37 +0100
commitbe697f74253050e5fcf3b4192f4500b31bbd9c1b (patch)
tree0b75d5e48965d596d35adc778c921e27420330d8 /addons/website_form/views
parent89093a1695f859b4576146420a6448943f77358e (diff)
[FIX] website_form: lazy load datetimepicker + update
Replace deprecated options for the updated version of the bootstrap-datetimepicker lib. Lazy load the library in the front-end as well in order to avoid loading it in all the front-end views.
Diffstat (limited to 'addons/website_form/views')
-rw-r--r--addons/website_form/views/assets.xml4
1 files changed, 0 insertions, 4 deletions
diff --git a/addons/website_form/views/assets.xml b/addons/website_form/views/assets.xml
index 73dbd97e071..c74c2f109e9 100644
--- a/addons/website_form/views/assets.xml
+++ b/addons/website_form/views/assets.xml
@@ -6,10 +6,6 @@
<xpath expr="." position="inside">
<link rel='stylesheet' href='/website_form/static/src/less/website_form.less'/>
<script type="text/javascript" src="/website_form/static/src/js/website_form.js"/>
-
- <!-- Bootstrap datetimepicker is currently only included in the backend -->
- <link rel="stylesheet" href="/web/static/lib/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css"/>
- <script type="text/javascript" src="/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js"/>
</xpath>
</template>