diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-01-06 12:13:31 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-01-08 11:01:42 +0100 |
| commit | c2264aa267fa69008fdc04fd61a3a9a5d742d9d8 (patch) | |
| tree | 01065a2304514b0b4a428955848b935f2aca2d7b /addons/website/static/src/js | |
| parent | ce1583bf83ce01a07b0fc292dd665cccb18293ee (diff) | |
[FIX] website editor: history can't take a snapshot if all editable zone is unactive
Diffstat (limited to 'addons/website/static/src/js')
| -rw-r--r-- | addons/website/static/src/js/website.editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js index c8ce1e68973..bad8d984b9d 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -649,7 +649,7 @@ define(['summernote/summernote'], function () { this.makeSnap = function () { var rng = range.create(), - elEditable = dom.ancestor(rng && rng.commonAncestor(), dom.isEditable) || $('.o_editable.note-editable:first')[0]; + elEditable = dom.ancestor(rng && rng.commonAncestor(), dom.isEditable) || $('.o_editable:first')[0]; return { editable: elEditable, contents: elEditable.innerHTML, |
