From 63d66614c55b9e4947e84947cd210985362acf38 Mon Sep 17 00:00:00 2001 From: bth-openerp Date: Thu, 5 Dec 2013 13:04:31 +0530 Subject: [PATCH] [IMP]Add attribute. bzr revid: bth@tinyerp.com-20131205073431-rcmnwyph2fn0hzu8 --- addons/web/static/src/js/search.js | 1 + addons/web/static/src/js/views.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/js/search.js b/addons/web/static/src/js/search.js index 50535150bf3..0af8b451312 100644 --- a/addons/web/static/src/js/search.js +++ b/addons/web/static/src/js/search.js @@ -400,6 +400,7 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea this.query = new my.SearchQuery() .on('add change reset remove', this.proxy('do_search')) .on('add change reset remove', this.proxy('renderFacets')); + $('.oe_searchview_unfold_drawer').attr('data-toggle', 'tooltip'); $('.oe_searchview_unfold_drawer').tooltip({html: true}); if (this.options.hidden) { this.$el.hide(); diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index ed81ccc253f..625eb4799eb 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -1156,7 +1156,7 @@ instance.web.Sidebar = instance.web.Widget.extend({ this.$('.oe_form_dropdown_section').each(function() { $(this).toggle(!!$(this).find('li').length); }); - + self.$("[title]").attr('data-toggle', 'tooltip'); self.$("[title]").tooltip({ 'html': true, 'container': 'body',