projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54f3f38
)
[FIX] ListView drag&drop within parent bound.
author
Vaibhav (OpenERP)
<vda@tinyerp.com>
Thu, 8 Dec 2011 13:16:33 +0000
(18:46 +0530)
committer
Vaibhav (OpenERP)
<vda@tinyerp.com>
Thu, 8 Dec 2011 13:16:33 +0000
(18:46 +0530)
bzr revid: vda@tinyerp.com-
20111208131633
-b7c3bd5hs3deuobd
addons/web/static/src/js/view_list.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/view_list.js
b/addons/web/static/src/js/view_list.js
index
f76eec7
..
79900a9
100644
(file)
--- a/
addons/web/static/src/js/view_list.js
+++ b/
addons/web/static/src/js/view_list.js
@@
-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'),