diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index c2b0af4737a..d8f830b806e 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -231,6 +231,9 @@ instance.web.Dialog = instance.web.Widget.extend({ if (opened_modal.length > 0){ //we still have other opened modal so we should focus it opened_modal[opened_modal.length-1].focus(); + //keep class modal-open (deleted by bootstrap hide fnct) on body + //to allow scrolling inside the modal + $('body').addClass('modal-open'); } },0); }