[IMP]Add tooltip options and add for search view drawer.

bzr revid: bth@tinyerp.com-20131205062007-cbo6wuuyg1buy0we
This commit is contained in:
bth-openerp
2013-12-05 11:50:07 +05:30
parent 63cd96ac8e
commit 3fd24e1cb5
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -641,6 +641,9 @@
left: 12% !important;
margin-top: 0.5px;
}
.tooltip.bottom {
padding: 5px 0 !important;
}
.openerp .oe_notebook {
margin: 8px 0;
padding: 0 16px;
+1 -1
View File
@@ -1262,7 +1262,7 @@ instance.web.Client = instance.web.Widget.extend({
bind_events: function() {
var self = this;
this.$el.on('mouseenter', '.oe_systray > div:not([data-toggle=tooltip])', function() {
$(this).attr('data-toggle', 'tooltip').tooltip().trigger('mouseenter');
$(this).attr('data-toggle', 'tooltip').tooltip({placement: 'bottom', html: true}).trigger('mouseenter');
});
this.$el.on('click', '.oe_dropdown_toggle', function(ev) {
ev.preventDefault();
+1 -1
View File
@@ -400,7 +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').tooltip({html: true});
if (this.options.hidden) {
this.$el.hide();
}