[FIX] website editor: add attributeEditable attribute to edit an editing host
bzr revid: chm@openerp.com-20140115141756-4ixq240p5z1snt9h
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
function is_editable_node(element) {
|
||||
return !(element.data('oe-model') === 'ir.ui.view'
|
||||
|| element.data('cke-realelement')
|
||||
|| is_editing_host(element)
|
||||
|| (is_editing_host(element) && element.getAttribute('attributeEditable') !== 'true')
|
||||
|| element.isReadOnly());
|
||||
}
|
||||
|
||||
|
||||
@@ -1363,6 +1363,7 @@
|
||||
self.$target.carousel( $(this).data('slide')); });
|
||||
|
||||
this.$target.find('.carousel-image, .content').attr('contentEditable', 'true');
|
||||
this.$target.find('.carousel-image').attr('attributeEditable', 'true');
|
||||
this._super();
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user