summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-01-27 10:19:38 +0100
committerXavier Morel <xmo@openerp.com>2012-01-27 10:19:38 +0100
commiteaa1fbca725a45092fc44bc3cc5449013ea1e9fb (patch)
tree02923af1962dba6eeb574664c651b6fcbb2b2957
parent6c6e5d291c548caac5bc611ca62aec83fe8aae2d (diff)
parenta93daf3b9848a431c34c38c5f96bddbc96558b38 (diff)
[FIX] strange draggable behavior in Chrome 15/Linux
dragging any other row than the first one in a sortable table (table with sequences) has the row going way to the right of the table, in both editable list views (e.g. tasks) and relational fields (e.g. Accounting > Configuration > Financial Accounting > Taxes > Taxes[form] > Child Tax Accounts bzr revid: xmo@openerp.com-20120127091938-z79e7aj6wjcmfmmz
-rw-r--r--addons/web/static/src/js/view_list.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js
index 7cedd1e3427..9b6710aafa2 100644
--- a/addons/web/static/src/js/view_list.js
+++ b/addons/web/static/src/js/view_list.js
@@ -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'),