[IMP] Dashboard: do not instantiate ActionManager, use ViewManagerAction instead
bzr revid: fme@openerp.com-20110713103500-v5w0lnskfj1w3r5x
This commit is contained in:
parent
3acbdf8153
commit
98cd4261d2
|
@ -226,9 +226,8 @@ openerp.base.form.DashBoard = openerp.base.form.Widget.extend({
|
|||
action_buttons : false,
|
||||
pager: false
|
||||
};
|
||||
new openerp.base.ActionManager(
|
||||
this.session, this.view.element_id + '_action_' + action.id)
|
||||
.do_action(action);
|
||||
new openerp.base.ViewManagerAction(this.session,
|
||||
this.view.element_id + '_action_' + action.id, action).start();
|
||||
},
|
||||
render: function() {
|
||||
// We should start with three columns available
|
||||
|
|
Loading…
Reference in New Issue