diff --git a/addons/website/static/src/js/website.js b/addons/website/static/src/js/website.js index 6e3ef66ab30..4f56cee63cc 100644 --- a/addons/website/static/src/js/website.js +++ b/addons/website/static/src/js/website.js @@ -380,6 +380,13 @@ dom_ready.then(function () { init_kanban(this); }); + $('.js_website_submit_form').on('submit', function() { + var $buttons = $(this).find('button[type="submit"], a.a-submit'); + _.each($buttons, function(btn) { + $(btn).attr('data-loading-text', ' ' + $(btn).text()).button('loading'); + }); + }); + setTimeout(function () { if (window.location.hash.indexOf("scrollTop=") > -1) { window.document.body.scrollTop = +location.hash.match(/scrollTop=([0-9]+)/)[1]; diff --git a/addons/website_blog/views/website_blog_templates.xml b/addons/website_blog/views/website_blog_templates.xml index a2b13f31d92..0bfe17ee0b0 100644 --- a/addons/website_blog/views/website_blog_templates.xml +++ b/addons/website_blog/views/website_blog_templates.xml @@ -294,7 +294,7 @@
-
+
diff --git a/addons/website_crm/views/website_crm.xml b/addons/website_crm/views/website_crm.xml index 836832e668e..f27f68e84b1 100644 --- a/addons/website_crm/views/website_crm.xml +++ b/addons/website_crm/views/website_crm.xml @@ -4,7 +4,7 @@ @@ -565,7 +565,7 @@ users having a high karma can see closed posts to moderate them.

- +
@@ -585,7 +585,7 @@
- + or back to post
@@ -597,13 +597,13 @@