diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-12-05 13:42:18 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-12-05 13:42:18 +0100 |
| commit | 0c3f9f691b36143bd0efd2f7f683c2a35b76ad09 (patch) | |
| tree | ac2874e90f2fef63d1ab87742559089199674d0b /addons/web/static/src | |
| parent | 990934442cc66faf8a93f5d0f3281219184671a7 (diff) | |
[FIX] chrome template use a template url for the logo, needed for demo
bzr revid: al@openerp.com-20121205124218-0qdvqed5td9mh84k
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/chrome.js | 1 | ||||
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index cc7b267c78c..5783afb987a 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -1106,7 +1106,6 @@ instance.web.WebClient = instance.web.Client.extend({ start: function() { var self = this; return $.when(this._super()).then(function() { - self.$(".oe_logo").attr("href", $.param.fragment("" + window.location, "", 2).slice(0, -1)); if (jQuery.param !== undefined && jQuery.deparam(jQuery.param.querystring()).kitten !== undefined) { $("body").addClass("kitten-mode-activated"); if ($.blockUI) { diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 65c96d05323..c272e1f8eb4 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -436,7 +436,7 @@ </tr> <tr> <td class="oe_leftbar" valign="top"> - <a class="oe_logo" href="#"><img t-att-src='_s + "/web/static/src/img/logo.png"'/></a> + <a class="oe_logo" t-attf-href="/?ts=#{Date.now()}"><img t-att-src='_s + "/web/static/src/img/logo.png"'/></a> <div class="oe_secondary_menus_container"/> <div class="oe_footer"> Powered by <a href="http://www.openerp.com" target="_blank"><span>OpenERP</span></a> |
