[FIX] helper clone for dragged element.

lp bug: https://launchpad.net/bugs/920349 fixed

bzr revid: vda@tinyerp.com-20120125131528-twjtq49lhzr214vr
This commit is contained in:
Vaibhav (OpenERP) 2012-01-25 18:45:28 +05:30
parent eea7c01bbf
commit a93daf3b98
1 changed files with 1 additions and 0 deletions

View File

@ -1355,6 +1355,7 @@ openerp.web.ListView.Groups = openerp.web.Class.extend( /** @lends openerp.web.L
axis: 'y',
items: '> tr[data-id]',
containment: 'parent',
helper: 'clone',
stop: function (event, ui) {
var to_move = list.records.get(ui.item.data('id')),
target_id = ui.item.prev().data('id'),