[REV] Revert Revision: 2677 revid:fp@tinyerp.com-20120705123259-okklz6m7nfziqaqf

bzr revid: fme@openerp.com-20120806155405-vw1qgz5btqd6hzvp
This commit is contained in:
Fabien Meghazi 2012-08-06 17:54:05 +02:00
parent c10136071d
commit 20ae82a823
1 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
scroll: false
});
} 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) {
@ -606,7 +606,7 @@ instance.web_kanban.KanbanRecord = instance.web.OldWidget.extend({
// If no draghandle is found, make the whole card as draghandle
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() {