you can insert snippets 'after' the selected zone, it makes more sense that way
bzr revid: fva@openerp.com-20130731154603-u89aajeivlqvi5uj
This commit is contained in:
parent
1eb9d5b626
commit
7664044486
|
@ -118,7 +118,7 @@ instance.website.EditorBar = instance.web.Widget.extend({
|
|||
$('.oe_snippet_drop').remove();
|
||||
var droppable = '<div class="oe_snippet_drop"></div>';
|
||||
var $zone = $(':not(.oe_snippet) > .container');
|
||||
$zone.before(droppable);//.after(droppable);
|
||||
$zone.after(droppable);//.after(droppable);
|
||||
|
||||
$(".oe_snippet_drop").droppable({
|
||||
hoverClass: 'oe_accepting',
|
||||
|
|
Loading…
Reference in New Issue