[FIX] ListView drag&drop within parent bound.
bzr revid: vda@tinyerp.com-20111208131633-b7c3bd5hs3deuobd
This commit is contained in:
parent
54f3f38957
commit
15e9b073c6
|
@ -1279,6 +1279,7 @@ openerp.web.ListView.Groups = openerp.web.Class.extend( /** @lends openerp.web.L
|
|||
list.$current.sortable({
|
||||
axis: 'y',
|
||||
items: '> tr[data-id]',
|
||||
containment: 'parent',
|
||||
stop: function (event, ui) {
|
||||
var to_move = list.records.get(ui.item.data('id')),
|
||||
target_id = ui.item.prev().data('id'),
|
||||
|
|
Loading…
Reference in New Issue