From e0fb89c1f18a3e5e97cd1877dc8b7443ae1a81ad Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 11 Mar 2014 20:31:12 -0400 Subject: [PATCH] CRM-13863 - Ensure scrollbars get re-enabled --- js/Common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Common.js b/js/Common.js index b292bd4905..00c68cd2b6 100644 --- a/js/Common.js +++ b/js/Common.js @@ -431,7 +431,7 @@ CRM.validate = CRM.validate || { } }) .on('dialogclose', function(e) { - if ($('.ui-dialog .modal-dialog').length < 1) { + if ($('.ui-dialog .modal-dialog').not(e.target).length < 1) { $('body').css({overflow: ''}); } }); -- 2.25.1