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:
d0d10c1
)
[FIX] menu loading after immediate install of modules
author
Christophe Simonis
<chs@openerp.com>
Tue, 13 Dec 2011 15:13:49 +0000
(16:13 +0100)
committer
Christophe Simonis
<chs@openerp.com>
Tue, 13 Dec 2011 15:13:49 +0000
(16:13 +0100)
bzr revid: chs@openerp.com-
20111213151349
-caesb8e51ngm2kko
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
b3278a1
..
a70aa50
100644
(file)
--- a/
addons/web/static/src/js/chrome.js
+++ b/
addons/web/static/src/js/chrome.js
@@
-1099,10
+1099,10
@@
openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie
this.action_manager.do_action(action);
},
do_action: function(action) {
+ var self = this;
if(action.type === "ir.ui.menu") {
- console.log(action);
this.do_reload().then(function () {
- this.rpc('/web/menu/action', {'menu_id': action.menu_id}, this.menu.on_menu_action_loaded);
+ self.menu.on_menu_click(null, action.menu_id);
});
}
},