[FIX] website: editor: ignore spurious changes for editable content
authorOlivier Dony <odo@openerp.com>
Thu, 2 Oct 2014 08:13:29 +0000 (10:13 +0200)
committerOlivier Dony <odo@openerp.com>
Thu, 2 Oct 2014 08:27:30 +0000 (10:27 +0200)
commitc76297c4f832a759c3057589dcaa0bd67c24e69f
tree6df4dbfdc57c63376936bdcdfee5eafefa1ca38d
parentf8d5a6727d3e8d428d9bef93da7ba6b11f344284
[FIX] website: editor: ignore spurious changes for editable content

Changes to contentEditable or attributeEditable attributes
should not cause the corresponding section to be marked
as dirty (oe_dirty). This would otherwise cause an extra
editor save() for those, wrongly marking untouched
templates as `noupdate`, and possibly triggering access
right errors.
addons/website/static/src/js/website.editor.js