From f58e4c2e006dcfd2cef3a1e64c62d85851a8bda2 Mon Sep 17 00:00:00 2001 From: Dan Cruson Date: Sat, 13 Dec 2014 15:09:17 -0500 Subject: [PATCH] CRM-15723 Joomla 3 Footer Bar Overlay Fix issue with the Joomla 3 admin footer overlaying the action buttons --- CRM/Utils/System/Joomla.php | 7 +++++++ js/crm.joomla.js | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 js/crm.joomla.js diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index 07ba3ed32d..bef5c5780f 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -882,5 +882,12 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { parent::outputError($content); } } + + /** + * Append to coreResourcesList + */ + function appendCoreResources(&$list) { + $list[] = 'js/crm.joomla.js'; + } } diff --git a/js/crm.joomla.js b/js/crm.joomla.js new file mode 100644 index 0000000000..07fa8f9d02 --- /dev/null +++ b/js/crm.joomla.js @@ -0,0 +1,7 @@ +CRM.$(function($) { + $(document) + .on('dialogopen', function(e) { + // J3 - Make footer admin bar hide behind popup windows (CRM-15723) + $('#status').css('z-index', '100'); + }) +}); -- 2.25.1