[FIX] website: jQuery (sizcache) trigger a change id in the page, the observer set as dirty all template. All template are saved when the user click on save button.

bzr revid: chm@openerp.com-20140218160144-5drlsnz4plyb9tqx
This commit is contained in:
Christophe Matthieu
2014-02-18 17:01:44 +01:00
parent 25e8046d5f
commit 1c4f859f1f
@@ -1667,6 +1667,8 @@
}
switch(m.type) {
case 'attributes': // ignore .cke_focus being added or removed
// ignore id modification
if (m.attributeName === 'id') { return false; }
// if attribute is not a class, can't be .cke_focus change
if (m.attributeName !== 'class') { return true; }