[IMP] use the session's actionmanager to launch configuration step actions
bzr revid: xmo@openerp.com-20110714142854-futz5l3b2sjh1nku
This commit is contained in:
parent
b922f1dd41
commit
0d3262ed0e
|
@ -319,14 +319,14 @@ openerp.base_dashboard.ConfigOverview = openerp.base.View.extend({
|
|||
this.$element.find('div.oe-dashboard-config-overview ul')
|
||||
.delegate('li', 'click', function () {
|
||||
self.execute_action({
|
||||
type: 'action',
|
||||
name: $(this).data('action')
|
||||
}, self.dataset,
|
||||
new openerp.base.ActionManager(self.session, self.element_id),
|
||||
null, null, function () {
|
||||
// after action popup closed, refresh configuration thingie
|
||||
self.start();
|
||||
});
|
||||
type: 'action',
|
||||
name: $(this).data('action')
|
||||
}, self.dataset,
|
||||
self.session.action_manager,
|
||||
null, null, function () {
|
||||
// after action popup closed, refresh configuration thingie
|
||||
self.start();
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue