[IMP] Implemented theorical handling of sidebar actions.
bzr revid: nicolas.vanhoren@openerp.com-20110405110210-4dhwdydxh1ttik1k
This commit is contained in:
parent
df3257a741
commit
240ba15e22
|
@ -298,7 +298,8 @@ openerp.base.Sidebar = openerp.base.BaseWidget.extend({
|
|||
var i = $this.attr("data-i");
|
||||
var j = $this.attr("data-i");
|
||||
var action = self.sections[i].elements[j];
|
||||
// TODO: do something with the action
|
||||
// I know this doesn't work, one day it will
|
||||
new openerp.base.ActionManager(this.view_manager, null).do_action(action);
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue