From aeebcf3dccbd1adfdb4fd62e29043449ef96c603 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 17 Jan 2012 15:02:13 +0100 Subject: [FIX] un-nivity call of WebClient, IE8 does not like nobody to mess with its body: bzr revid: xmo@openerp.com-20120117140213-u2n1l4cg1nz1xrea --- addons/web/static/src/js/chrome.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'addons/web/static/src') diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index be570e3dd84..8b9a0d4efc6 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -1062,13 +1062,9 @@ openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie this._current_state = null; }, - render_element: function() { - this.$element = $(''); - this.$element.attr("id", "oe"); - this.$element.addClass("openerp"); - }, start: function() { var self = this; + this.$element = $(document.body); if (jQuery.param != undefined && jQuery.deparam(jQuery.param.querystring()).kitten != undefined) { this.$element.addClass("kitten-mode-activated"); this.$element.delegate('img.oe-record-edit-link-img', 'hover', function(e) { -- cgit v1.2.3