diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-05-14 12:28:44 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-05-14 12:28:44 +0200 |
| commit | 2fd1f9e52f00bc703d6ff2d395c8136553bc11f3 (patch) | |
| tree | 171401f8dcb5c3f53497821b1aecfc6790b20a47 /addons/web_shortcuts/static/src/js | |
| parent | c7084ee7588a4cfa7be3f1f3dadac285c4dc20a6 (diff) | |
[FIX] Broken Web Shortcuts links
bzr revid: fme@openerp.com-20120514102844-923swknaxhpgmpyi
Diffstat (limited to 'addons/web_shortcuts/static/src/js')
| -rw-r--r-- | addons/web_shortcuts/static/src/js/web_shortcuts.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_shortcuts/static/src/js/web_shortcuts.js b/addons/web_shortcuts/static/src/js/web_shortcuts.js index 948e6ab3d82..ecd07e35c72 100644 --- a/addons/web_shortcuts/static/src/js/web_shortcuts.js +++ b/addons/web_shortcuts/static/src/js/web_shortcuts.js @@ -64,7 +64,7 @@ instance.web_shortcuts.Shortcuts = instance.web.Widget.extend({ }, display: function(sc) { var self = this; - this.$element.find('.oe_systray_shortcuts_items').append() + this.$element.find('.oe_systray_shortcuts_items').append(); var $sc = $(QWeb.render('Systray.Shortcuts.Item', {'shortcut': sc})); $sc.appendTo(self.$element.find('.oe_systray_shortcuts_items')); }, @@ -81,7 +81,7 @@ instance.web_shortcuts.Shortcuts = instance.web.Widget.extend({ self.session.active_id = id; self.rpc('/web/menu/action', {'menu_id': id}, function(ir_menu_data) { if (ir_menu_data.action.length){ - instance.webclient.menu.on_action(ir_menu_data.action[0][2]); + instance.webclient.user_menu.on_action(ir_menu_data.action[0][2]); } }); this.$element.find('.oe_systray_shortcuts').trigger('mouseout'); |
