[REV] Revert Revision: 2677 revid:fp@tinyerp.com-20120705123259-okklz6m7nfziqaqf
bzr revid: fme@openerp.com-20120806155405-vw1qgz5btqd6hzvp
This commit is contained in:
parent
c10136071d
commit
20ae82a823
|
@ -256,7 +256,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
|
||||||
scroll: false
|
scroll: false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$element.find('.oe_kanban_draghandle').removeClass('oe_kanban_draghandle').removeClass('oe_kanban_card');
|
this.$element.find('.oe_kanban_draghandle').removeClass('oe_kanban_draghandle');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
on_record_moved : function(record, old_group, old_index, new_group, new_index) {
|
on_record_moved : function(record, old_group, old_index, new_group, new_index) {
|
||||||
|
@ -606,7 +606,7 @@ instance.web_kanban.KanbanRecord = instance.web.OldWidget.extend({
|
||||||
|
|
||||||
// If no draghandle is found, make the whole card as draghandle
|
// If no draghandle is found, make the whole card as draghandle
|
||||||
if (!this.$element.find('.oe_kanban_draghandle').length) {
|
if (!this.$element.find('.oe_kanban_draghandle').length) {
|
||||||
this.$element.children(':first').addClass('oe_kanban_draghandle').addClass('oe_kanban_card');
|
this.$element.children(':first').addClass('oe_kanban_draghandle');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$element.find('.oe_kanban_action').click(function() {
|
this.$element.find('.oe_kanban_action').click(function() {
|
||||||
|
|
Loading…
Reference in New Issue