diff options
| author | Jeremy Kersten <jke@odoo.com> | 2015-08-11 09:57:16 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2015-08-11 13:58:04 +0200 |
| commit | c47ea6f8ea707f59fc10b5a3172a056b5ed447da (patch) | |
| tree | a26a635616317c04999dd97affef080ea7d87b14 /addons/web/static/src | |
| parent | bf0f43820960d9ca5c023cfb0ea6e140afa7a0f9 (diff) | |
[FIX] website: editor - duplicate the slide from snippet
Since saas-6, all snippets should start by a s_, so we can know exactly what is
the current snippet, and retrieve the slide from the drop-snippets bar.
If none snippet match, we use the old method which consists to find the snippet
which have the biggest intersection of class betwwen dropped snippet, and all
snippets in drop-snippets bar.
A other way without update the JS code will be to had many fake class in the
snippet declaration and in the snippet code to be sure that it match the right
snippet.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
