[FIX] website: restore compatibility with RC1 templates for commit 77c41cc5cb

This commit is contained in:
Olivier Dony 2014-09-29 10:18:11 +02:00
parent edf679cfab
commit 6f64325225
1 changed files with 3 additions and 0 deletions

View File

@ -284,6 +284,9 @@
// 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')) {