[FIX] reload the menu after the session (and thus the context) is reloaded
bzr revid: chs@openerp.com-20111221132332-foyw7abxxy5hl3rb
This commit is contained in:
parent
19e49a060d
commit
61b780a9a8
|
@ -1035,7 +1035,7 @@ openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie
|
|||
});
|
||||
},
|
||||
do_reload: function() {
|
||||
return $.when(this.session.session_init(),this.menu.do_reload());
|
||||
return this.session.session_init().pipe(_.bind(function() {this.menu.do_reload();}, this));
|
||||
},
|
||||
do_notify: function() {
|
||||
var n = this.notification;
|
||||
|
|
Loading…
Reference in New Issue