[FIX] web: remove enforceFocus method from bootstrap modal since it is conflicting...
authorCedric Snauwaert <csn@openerp.com>
Thu, 23 Oct 2014 09:49:07 +0000 (11:49 +0200)
committerCedric Snauwaert <csn@openerp.com>
Thu, 23 Oct 2014 13:04:59 +0000 (15:04 +0200)
commit44eed595df5d5f69472d09a7092944bc490820f8
treefdc19b9ed71e4694f584e5a0eb6defdf1bcc0baa
parent8521e701fae4ebe3ae35ef714cbfe916a215bd36
[FIX] web: remove enforceFocus method from bootstrap modal since it is conflicting with other non bootstrap element

This method trigger the focus event when clicking inside the modal, causing a blur event on other widgets resulting in unwanted problem. Typical case is for the jquery datetimepicker where we try to open a select element which will close right after.
addons/web/static/src/js/core.js