diff options
| author | Christophe Matthieu <chm@openerp.com> | 2014-01-21 13:39:12 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2014-01-21 13:39:12 +0100 |
| commit | 4ff1af4d01efc7b07c9ad0dc9e0f9d73b9f1e6b4 (patch) | |
| tree | e365266d07c58bdb2279364018545abdce19d7c7 /addons/website/static/src/js/website.editor.js | |
| parent | 51f6977f3947b74c7d6f18bea0d9d0e30a9a4454 (diff) | |
[FIX] website: display or not editor edit button; website_sale: test tour; website: contact qweb widget
bzr revid: chm@openerp.com-20140121123912-0ya4ziusj09efti3
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
| -rw-r--r-- | addons/website/static/src/js/website.editor.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js index 25980633fd2..5f4cd8978c2 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -463,6 +463,10 @@ $(window).on('resize', _.debounce(this.check_height.bind(this), 50)); this.check_height(); + if (website.is_editable_button) { + this.$("button[data-action=edit]").removeClass("hidden"); + } + return $.when( this._super.apply(this, arguments), this.rte.appendTo(this.$('#website-top-edit .nav.pull-right')) |
