[FIX]In page view,user shuold not allowed to drag and drop list rows.
bzr revid: vja@tinyerp.com-20120913061657-o378iqz4tzaqej33
This commit is contained in:
parent
cd004c2c77
commit
86912a60cd
|
@ -1417,7 +1417,7 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
|
|||
if ((dataset.sort && dataset.sort())
|
||||
|| !_(this.columns).any(function (column) {
|
||||
return column.widget === 'handle'
|
||||
|| column.name === 'sequence'; })) {
|
||||
|| column.name === 'sequence'; }) || !list.options.reorderable){
|
||||
return;
|
||||
}
|
||||
var sequence_field = _(this.columns).find(function (c) {
|
||||
|
|
Loading…
Reference in New Issue