projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56dc53
)
[FIX] don't mark view sections as dirty just because the snippets thing has inserted...
author
Xavier Morel
<xmo@openerp.com>
Mon, 24 Mar 2014 10:18:50 +0000
(11:18 +0100)
committer
Xavier Morel
<xmo@openerp.com>
Mon, 24 Mar 2014 10:18:50 +0000
(11:18 +0100)
bzr revid: xmo@openerp.com-
20140324101850
-el3cfs0x4uln3u7v
addons/website/static/src/js/website.editor.js
patch
|
blob
|
history
diff --git
a/addons/website/static/src/js/website.editor.js
b/addons/website/static/src/js/website.editor.js
index
a5cf89b
..
7151987
100644
(file)
--- a/
addons/website/static/src/js/website.editor.js
+++ b/
addons/website/static/src/js/website.editor.js
@@
-1752,6
+1752,9
@@
if (node.nodeName === 'BR' && node.getAttribute('type') === '_moz') {
// <br type="_moz"> appears when focusing RTE in FF, ignore
continue;
+ } else if (node.nodeName === 'DIV' && $(node).hasClass('oe_drop_zone')) {
+ // ignore dropzone inserted by snippets
+ continue
}
}