[MERGE] forward port of branch 8.0 up to ed92589
[odoo/odoo.git] / addons / web / static / src / js / core.js
index 983a0a0..df810bb 100644 (file)
@@ -775,6 +775,7 @@ $.fn.tooltip.Constructor.DEFAULTS.trigger = 'hover focus click';
 $.fn.tooltip.Constructor.DEFAULTS.container = 'body';
 //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 () { };
 $.fn.tooltip.Constructor.prototype.show = function () {
     $('.tooltip').remove();
     //the following fix the bug when using placement