[FIX] double action manager
bzr revid: al@openerp.com-20110810114914-rnokf7v1mp8kmtu1
This commit is contained in:
parent
d1a5c72972
commit
85b1852aa6
|
@ -374,6 +374,7 @@ openerp.base.Dialog = openerp.base.OldWidget.extend({
|
|||
this.open();
|
||||
}
|
||||
this._super();
|
||||
return this;
|
||||
},
|
||||
open: function(dialog_options) {
|
||||
// TODO fme: bind window on resize
|
||||
|
@ -988,6 +989,8 @@ openerp.base.WebClient = openerp.base.Widget.extend({
|
|||
this.notification.notify("OpenERP Client", "The openerp client has been initialized.");
|
||||
},
|
||||
on_logged: function() {
|
||||
if(this.action_manager)
|
||||
this.action_manager.stop();
|
||||
this.action_manager = new openerp.base.ActionManager(this);
|
||||
this.action_manager.appendTo($("#oe_app"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue