[IMP] web_kanban: optimize drag and drop

This is a really difficult optimization.  Based on various benchmarks
and some hard thinking, we discovered that this change will shave
approximately 100ms for each drag and drop performed by a normal user.

We believe that this is a safe optimization in most cases (but we didn't
test it on some architectures, such as ARM or Solaris).  It is also
compatible with most SQL JSON-enabled databases.
This commit is contained in:
Géry Debongnie
2015-06-24 14:48:19 +02:00
parent 93bdbb7904
commit fdc4b33e08
@@ -73,7 +73,7 @@ var KanbanColumn = Widget.extend({
this.$el.sortable({
connectWith: '.o_kanban_group',
revert: 150,
delay: 100,
delay: 0,
items: '> .o_kanban_record',
helper: 'clone',
cursor: 'move',