File adjustments per Coleman
[civicrm-core.git] / js / crm.joomla.js
1 // http://civicrm.org/licensing
2 CRM.$(function($) {
3 $(document)
4 .on('dialogopen', function(e) {
5 // J3 - Make footer admin bar hide behind popup windows (CRM-15723)
6 $('#status').css('z-index', '100');
7 })
8 .on('dialogclose', function(e) {
9 if ($('.ui-dialog-content:visible').not(e.target).length < 1) {
10 // D7 hack, restore toolbar position (CRM-15341)
11 $('#toolbar').css('z-index', '');
12 }
13 })
14 });