[FIX] Fixed action buttons in kanban view
bzr revid: fme@openerp.com-20110912132330-wf64t3ccnzak75u3
This commit is contained in:
parent
06d80b1d4e
commit
a0e9e6cc47
|
@ -356,7 +356,7 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
|
|||
} else if (type == 'color') {
|
||||
this.do_change_color(record_id, $action);
|
||||
} else {
|
||||
var button_attrs = $(this).data();
|
||||
var button_attrs = $action.data();
|
||||
this.on_button_click(button_attrs, record_id);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue