[IMP] Made the logo a simple link.
bzr revid: nicolas.vanhoren@openerp.com-20121122130220-z9h2kezgxnh02vlj
This commit is contained in:
parent
f1f21379fa
commit
c2bcf50d98
|
@ -1094,9 +1094,7 @@ instance.web.WebClient = instance.web.Client.extend({
|
||||||
start: function() {
|
start: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
return $.when(this._super()).then(function() {
|
return $.when(this._super()).then(function() {
|
||||||
self.$el.on('click', '.oe_logo', function() {
|
self.$(".oe_logo").attr("href", $.param.fragment("" + window.location, "", 2));
|
||||||
self.action_manager.do_action('home');
|
|
||||||
});
|
|
||||||
if (jQuery.param !== undefined && jQuery.deparam(jQuery.param.querystring()).kitten !== undefined) {
|
if (jQuery.param !== undefined && jQuery.deparam(jQuery.param.querystring()).kitten !== undefined) {
|
||||||
$("body").addClass("kitten-mode-activated");
|
$("body").addClass("kitten-mode-activated");
|
||||||
if ($.blockUI) {
|
if ($.blockUI) {
|
||||||
|
|
Loading…
Reference in New Issue