diff options
| author | Martin Geubelle <mge@odoo.com> | 2015-09-11 17:12:28 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2015-09-24 11:25:43 +0200 |
| commit | e89d52878814a05cce7d3af7ebd103e96d75fd82 (patch) | |
| tree | 1375596d99c85f95303ab7bd7b96c4c65d7a2fff /addons/web/static/src/js/widgets | |
| parent | bacd60dc1d53520967d6ffbb1460f63d2404aea3 (diff) | |
[IMP] web, web_planner: move 'Help' in systray
* 'Help' has now its own dropdown, directly accessible in the systray, instead of being hidden in the Administrator dropdown
* 'About' has been moved there also
* We can access the planner through this dropdown, even if the planner is hidden (complete)
Diffstat (limited to 'addons/web/static/src/js/widgets')
| -rw-r--r-- | addons/web/static/src/js/widgets/user_menu.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/addons/web/static/src/js/widgets/user_menu.js b/addons/web/static/src/js/widgets/user_menu.js index 9111a9a34ba..f9c658525a4 100644 --- a/addons/web/static/src/js/widgets/user_menu.js +++ b/addons/web/static/src/js/widgets/user_menu.js @@ -55,9 +55,6 @@ var SystrayMenu = Widget.extend({ }; this.update_promise = this.update_promise.then(fct, fct); }, - on_menu_help: function() { - window.open('http://help.odoo.com', '_blank'); - }, on_menu_logout: function() { this.trigger('user_logout'); }, @@ -91,22 +88,6 @@ var SystrayMenu = Widget.extend({ }); }); }, - on_menu_about: function() { - var self = this; - self.rpc("/web/webclient/version_info", {}).done(function(res) { - var $help = $(QWeb.render("UserMenu.about", {version_info: res})); - $help.find('a.oe_activate_debug_mode').click(function (e) { - e.preventDefault(); - window.location = $.param.querystring( window.location.href, 'debug'); - }); - new Dialog(this, { - size: 'medium', - dialogClass: 'o_act_window', - title: _t("About"), - $content: $help - }).open(); - }); - }, }); return SystrayMenu; |
