projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e49a0
)
[FIX] reload the menu after the session (and thus the context) is reloaded
author
Christophe Simonis
<chs@openerp.com>
Wed, 21 Dec 2011 13:23:32 +0000
(14:23 +0100)
committer
Christophe Simonis
<chs@openerp.com>
Wed, 21 Dec 2011 13:23:32 +0000
(14:23 +0100)
bzr revid: chs@openerp.com-
20111221132332
-foyw7abxxy5hl3rb
addons/web/static/src/js/chrome.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/chrome.js
b/addons/web/static/src/js/chrome.js
index
59f708e
..
64a7e41
100644
(file)
--- a/
addons/web/static/src/js/chrome.js
+++ b/
addons/web/static/src/js/chrome.js
@@
-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;