diff --git a/addons/web/__openerp__.py b/addons/web/__openerp__.py index 7cc78212bd8..df14cf76e74 100644 --- a/addons/web/__openerp__.py +++ b/addons/web/__openerp__.py @@ -33,7 +33,6 @@ This module provides the core of the OpenERP Web Client. "static/lib/jquery.ui.notify/js/jquery.notify.js", "static/lib/jquery.deferred-queue/jquery.deferred-queue.js", "static/lib/jquery.scrollTo/jquery.scrollTo-min.js", - "static/lib/jquery.tipsy/jquery.tipsy.js", "static/lib/jquery.textext/jquery.textext.js", "static/lib/jquery.timeago/jquery.timeago.js", "static/lib/qweb/qweb2.js", @@ -63,7 +62,6 @@ This module provides the core of the OpenERP Web Client. "static/lib/jquery.ui.bootstrap/css/custom-theme/jquery-ui-1.9.0.custom.css", "static/lib/jquery.ui.timepicker/css/jquery-ui-timepicker-addon.css", "static/lib/jquery.ui.notify/css/ui.notify.css", - "static/lib/jquery.tipsy/tipsy.css", "static/lib/jquery.textext/jquery.textext.css", "static/lib/fontawesome/css/font-awesome.css", "static/lib/bootstrap/css/bootstrap.css", diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index 80e72a5d813..01b469d39d1 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -583,9 +583,10 @@ instance.web.ViewManager = instance.web.Widget.extend({ start: function() { this._super(); var self = this; + this.$el.find('.oe_view_manager_switch a').attr('data-toggle', 'tooltip'); this.$el.find('.oe_view_manager_switch a').click(function() { self.switch_mode($(this).data('view-type')); - }).tooltip(); + }).tooltip({'placement': 'bottom'}); var views_ids = {}; _.each(this.views_src, function(view) { self.views[view.view_type] = $.extend({}, view, {