From c2bcf50d988c193eb64606132fb8844159c9b578 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Thu, 22 Nov 2012 14:02:20 +0100 Subject: [PATCH] [IMP] Made the logo a simple link. bzr revid: nicolas.vanhoren@openerp.com-20121122130220-z9h2kezgxnh02vlj --- addons/web/static/src/js/chrome.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 4fd835e90be..f355322b489 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -1094,9 +1094,7 @@ instance.web.WebClient = instance.web.Client.extend({ start: function() { var self = this; return $.when(this._super()).then(function() { - self.$el.on('click', '.oe_logo', function() { - self.action_manager.do_action('home'); - }); + self.$(".oe_logo").attr("href", $.param.fragment("" + window.location, "", 2)); if (jQuery.param !== undefined && jQuery.deparam(jQuery.param.querystring()).kitten !== undefined) { $("body").addClass("kitten-mode-activated"); if ($.blockUI) {