[FIX] Clicking a card from a kanban view scrolls the page down
bzr revid: fme@openerp.com-20120912111057-rlvml5v1cqslgwtq
This commit is contained in:
parent
9511db2416
commit
66a65ab12b
|
@ -742,7 +742,8 @@ instance.web_kanban.KanbanRecord = instance.web.Widget.extend({
|
|||
.toggleClass('oe_kanban_draghandle', this.view.is_action_enabled('edit'));
|
||||
}
|
||||
|
||||
this.$el.find('.oe_kanban_action').click(function() {
|
||||
this.$el.find('.oe_kanban_action').click(function(ev) {
|
||||
ev.preventDefault();
|
||||
var $action = $(this),
|
||||
type = $action.data('type') || 'button',
|
||||
method = 'do_action_' + (type === 'action' ? 'object' : type);
|
||||
|
|
Loading…
Reference in New Issue