website cms: banner always has contenteditable="true"
Bug #1316900 reported by
Ivan Yelizariev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Christophe Matthieu (OpenERP) |
Bug Description
Steps:
* install trunk OpenERP
* install website module
* edit home page, add banner block, save
Banner block has contenteditable
Changed in openobject-addons: | |
assignee: | nobody → Christophe Matthieu (OpenERP) (chm-openerp) |
To post a comment you must log in.
My suggestion is remove contenteditable attreibute at function "start" or "clean_for_save" at Class website. snippet. options. carousel BECAUSE "start" function (which inherited from snippet. options. slide ) add contenteditable attribute
website.
See main clean_for_save function:
var self = this;
var options = website. snippet. options; snippet. templateOptions ; k].prototype. clean_for_ save !== dummy) {
var $snippet = this.dom_ filter( template[ k].selector) ;
$ snippet. each(function () {
new options[k](self, null, $(this), k).clean_ for_save( );
} );
var template = website.
for (var k in options) {
if (template[k] && options[
}
}
},