[IMP]Add attribute.

bzr revid: bth@tinyerp.com-20131205073431-rcmnwyph2fn0hzu8
This commit is contained in:
bth-openerp
2013-12-05 13:04:31 +05:30
parent 4543fe40a0
commit 63d66614c5
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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();
+1 -1
View File
@@ -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',