diff options
| author | Christophe Matthieu <chm@openerp.com> | 2014-01-22 10:46:54 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2014-01-22 10:46:54 +0100 |
| commit | dcb6ccd7112e177520f6e8e4ecb9c123b36b56f4 (patch) | |
| tree | 6aafa014dd4b3e4d05515eed656cd4cbfc0f7a1f /addons/website/static/src | |
| parent | 0e2b946ff31c5ee39c4b3747626f69ff38bad123 (diff) | |
[FIX] website snippet: on_remove column create parent overlay
bzr revid: chm@openerp.com-20140122094654-mh426x5aqmyjh8pd
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/website.snippets.editor.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js index 89f226adfae..7bf540f9c16 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -1182,6 +1182,9 @@ if($parent.find("[data-snippet-id='colmd']").length > 1) { return false; } else { + if (!$parent.data("snippet-editor")) { + this.parent.create_overlay($parent); + } $parent.data("snippet-editor").on_remove(); } } |
