Commit | Line | Data |
---|---|---|
2c608ece | 1 | // http://civicrm.org/licensing |
f58e4c2e DC |
2 | CRM.$(function($) { |
3 | $(document) | |
2c608ece | 4 | .on('dialogopen', function(e) { |
f58e4c2e DC |
5 | // J3 - Make footer admin bar hide behind popup windows (CRM-15723) |
6 | $('#status').css('z-index', '100'); | |
7 | }) | |
2c608ece DC |
8 | .on('dialogclose', function(e) { |
9 | if ($('.ui-dialog-content:visible').not(e.target).length < 1) { | |
6c67beb2 DC |
10 | // J3 - restore footer admin bar position (CRM-15723) |
11 | $('#status').css('z-index', ''); | |
2c608ece | 12 | } |
f54254d8 | 13 | }); |
f58e4c2e | 14 | }); |