projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7f1d21
)
Ensure scrollbars are restored when closing modal dialog
author
Coleman Watts
<coleman@civicrm.org>
Mon, 9 Jun 2014 13:59:53 +0000
(14:59 +0100)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 9 Jun 2014 13:59:53 +0000
(14:59 +0100)
js/Common.js
patch
|
blob
|
blame
|
history
diff --git
a/js/Common.js
b/js/Common.js
index 2681102e5e5f9f6d7200bbff9adc6c186969f7cd..44736662ea810a7df749fe9968da42f3e85c00f7 100644
(file)
--- a/
js/Common.js
+++ b/
js/Common.js
@@
-505,7
+505,7
@@
CRM.validate = CRM.validate || {
})
.on('dialogclose', function(e) {
// Restore scrollbars when closing modal
- if ($('.ui-dialog .modal-dialog').not(e.target).length < 1) {
+ if ($('.ui-dialog .modal-dialog
:visible
').not(e.target).length < 1) {
$('body').css({overflow: ''});
}
})