projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #8101 from colemanw/CRM-18379
[civicrm-core.git]
/
js
/
crm.joomla.js
diff --git
a/js/crm.joomla.js
b/js/crm.joomla.js
index 07fa8f9d028616a9972aff26e7d4f40a8fbb3902..4d98804a05f13a0ac8a501cf86bd27e379143fe5 100644
(file)
--- a/
js/crm.joomla.js
+++ b/
js/crm.joomla.js
@@
-1,7
+1,14
@@
+// http://civicrm.org/licensing
CRM.$(function($) {
$(document)
CRM.$(function($) {
$(document)
-
.on('dialogopen', function(e) {
+ .on('dialogopen', function(e) {
// J3 - Make footer admin bar hide behind popup windows (CRM-15723)
$('#status').css('z-index', '100');
})
// J3 - Make footer admin bar hide behind popup windows (CRM-15723)
$('#status').css('z-index', '100');
})
+ .on('dialogclose', function(e) {
+ if ($('.ui-dialog-content:visible').not(e.target).length < 1) {
+ // J3 - restore footer admin bar position (CRM-15723)
+ $('#status').css('z-index', '');
+ }
+ });
});
});