diff --git a/addons/web/static/src/js/framework/misc.js b/addons/web/static/src/js/framework/misc.js index ef073d1ab0d..b61dee5862f 100644 --- a/addons/web/static/src/js/framework/misc.js +++ b/addons/web/static/src/js/framework/misc.js @@ -241,6 +241,7 @@ $.fn.tooltip.Constructor.DEFAULTS.placement = 'auto top'; $.fn.tooltip.Constructor.DEFAULTS.html = true; $.fn.tooltip.Constructor.DEFAULTS.trigger = 'hover focus click'; $.fn.tooltip.Constructor.DEFAULTS.container = 'body'; +$.fn.tooltip.Constructor.DEFAULTS.delay = { show: 1000, hide: 0 }; //overwrite bootstrap tooltip method to prevent showing 2 tooltip at the same time var bootstrap_show_function = $.fn.tooltip.Constructor.prototype.show; $.fn.modal.Constructor.prototype.enforceFocus = function () { }; diff --git a/addons/web/static/src/js/views/form_common.js b/addons/web/static/src/js/views/form_common.js index 9752fb057fe..7bef460e63f 100644 --- a/addons/web/static/src/js/views/form_common.js +++ b/addons/web/static/src/js/views/form_common.js @@ -461,7 +461,7 @@ var FormWidget = Widget.extend(InvisibilityChangerMixin, { widget = widget || this; trigger = trigger || this.$el; options = _.extend({ - delay: { show: 500, hide: 0 }, + delay: { show: 1000, hide: 0 }, title: function() { var template = widget.template + '.tooltip'; if (!QWeb.has_template(template)) { @@ -1129,4 +1129,4 @@ return { DomainEditorDialog: DomainEditorDialog, }; -}); \ No newline at end of file +});