diff options
| author | Romain Derie <rde@odoo.com> | 2018-03-29 12:22:41 +0200 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2018-03-29 13:08:57 +0200 |
| commit | 5c2b42bbf7705b77b7d7d39805f2652b406b507a (patch) | |
| tree | c6e2967893a7756a4952f34da5746feb1a4f5c6e /addons/website/static/src/js/content/website_root.js | |
| parent | 4c08b98c8a7ed43a6ef65f5a1eda9c0bb71901ec (diff) | |
[FIX] website: remove ribbon on unpublished pages (new specs)
This commit reverts part of f5912cb since the spec changed afterwards.
Unpublished page will have a red toggle, which even if it is small should be
enough to draw user attention, and not a ribbon anymore.
Task-44005
Diffstat (limited to 'addons/website/static/src/js/content/website_root.js')
| -rw-r--r-- | addons/website/static/src/js/content/website_root.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/website/static/src/js/content/website_root.js b/addons/website/static/src/js/content/website_root.js index 6937545c5a8..ab1de2ea357 100644 --- a/addons/website/static/src/js/content/website_root.js +++ b/addons/website/static/src/js/content/website_root.js @@ -232,7 +232,6 @@ var WebsiteRoot = BodyManager.extend({ }) .done(function (result) { $data.toggleClass("css_unpublished css_published"); - $(".ribbon-publish.ribbon-wrapper").toggleClass("css_unpublished css_published"); $data.find('input').prop("checked", result); $data.parents("[data-publish]").attr("data-publish", +result ? 'on' : 'off'); }) |
