[IMP] web: increase tooltip delay timer
from 500 to 1000, as requested by fp
This commit is contained in:
@@ -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 () { };
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user