From f22686fb4d1a20b59ef1d699bac81868944eee4a Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 15 Sep 2015 10:30:19 +0200 Subject: [FIX] website: published/unpublished button + useless code For some strange reason, two CSS rules had different priorities between firefox and chrome (which forced chrome to always display published and unpublished at the same time). The chosen solution is to change the value of the button in published/ unpublished instead of toggling and relying on CSS classes (with this method, the DOM looks better too). There was also duplicated code in website for assets_backend. --- addons/website/static/src/xml/website.backend.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'addons/website/static/src/xml/website.backend.xml') diff --git a/addons/website/static/src/xml/website.backend.xml b/addons/website/static/src/xml/website.backend.xml index 76194c11534..b1e060fd6c5 100644 --- a/addons/website/static/src/xml/website.backend.xml +++ b/addons/website/static/src/xml/website.backend.xml @@ -1,10 +1,7 @@ -
- Not Published - Published + On Website
-
-- cgit v1.2.3