[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:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user