diff options
| author | chm@openerp.com <> | 2014-04-07 13:15:06 +0200 |
|---|---|---|
| committer | chm@openerp.com <> | 2014-04-07 13:15:06 +0200 |
| commit | ad93089bc2ab73f681bbdc0a2033d83e8f38b3b2 (patch) | |
| tree | 143f7d80fd94b1f56d53f46495595664e8701524 /addons/website/static/src/js/website.snippets.editor.js | |
| parent | 618a52116ceba58a70f117670cccf7df974d5de4 (diff) | |
[FIX] website: snippet editor add class from li[data-value]
bzr revid: chm@openerp.com-20140407111506-jemffxbanul2yqbk
Diffstat (limited to 'addons/website/static/src/js/website.snippets.editor.js')
| -rw-r--r-- | addons/website/static/src/js/website.snippets.editor.js | 1 |
1 files changed, 1 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 12c8d438a15..a6c387c73a0 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -743,6 +743,7 @@ this.set_active(); this.$el.find('li[data-value] a').on('mouseenter mouseleave click', _.bind(this._mouse, this)); + this.$el.not(':not([data-value])').find("a").on('mouseenter mouseleave click', _.bind(this._mouse, this)); this.$target.on('snippet-style-reset', _.bind(this.set_active, this)); this.start(); |
