diff options
| author | Antony Lesuisse <al@openerp.com> | 2013-07-01 16:28:40 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2013-07-01 16:28:40 +0200 |
| commit | 814fdf3d2b92ef2e84f4e0a07a23d47c92f5a7d0 (patch) | |
| tree | aea4f4776562a0da8ba76c9fb8eb70119c2c0eb2 | |
| parent | b5f7ed13ff3a141d74895429b6bb22705d548b86 (diff) | |
make oe_editable visible
bzr revid: al@openerp.com-20130701142840-s1pz9s2qwbf6o9yj
| -rw-r--r-- | addons/website/static/src/js/website.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.js b/addons/website/static/src/js/website.js index 2eb8d517df0..e5a10704da1 100644 --- a/addons/website/static/src/js/website.js +++ b/addons/website/static/src/js/website.js @@ -12,7 +12,7 @@ instance.website.EditorBar = instance.web.Widget.extend({ var r = this._super.apply(this, arguments); this.$container = $(this.container); this.$container.addClass('oe_website_editor_container'); - this.$container.find('.oe_editable').attr('contentEditable', 'true'); + this.$container.find('[data-oe-model]').attr('contentEditable', 'true').addClass('oe_editable'); this.$('button').prop('disabled', true); // .click(function (e) { // e.stopPropagation(); |
