[IMP] Made the logo a simple link.

bzr revid: nicolas.vanhoren@openerp.com-20121122130220-z9h2kezgxnh02vlj
This commit is contained in:
niv-openerp 2012-11-22 14:02:20 +01:00
parent f1f21379fa
commit c2bcf50d98
1 changed files with 1 additions and 3 deletions

View File

@ -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) {