[FIX] website: restore compatibility with RC1 templates for commit 77c41cc5cb64a95178...
authorOlivier Dony <odo@openerp.com>
Mon, 29 Sep 2014 08:18:11 +0000 (10:18 +0200)
committerOlivier Dony <odo@openerp.com>
Mon, 29 Sep 2014 08:18:11 +0000 (10:18 +0200)
addons/website/static/src/js/website.js

index be99c8e..79214e5 100644 (file)
                 // display button if they are at least one editable zone in the page (check the branding)
                 if (!!$('[data-oe-model]').size()) {
                     $("#oe_editzone").show();
+
+                    //backwards compatibility with 8.0RC1 templates - Drop next line in master!
+                    $("#oe_editzone button").show();
                 }
 
                 if ($('html').data('website-id')) {