make oe_editable visible

bzr revid: al@openerp.com-20130701142840-s1pz9s2qwbf6o9yj
This commit is contained in:
Antony Lesuisse
2013-07-01 16:28:40 +02:00
parent b5f7ed13ff
commit 814fdf3d2b
+1 -1
View File
@@ -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();