From: Tim Otten Date: Tue, 12 Mar 2013 17:38:04 +0000 (-0400) Subject: CRM-11823 - D7 - Restore JS on upgrade screen X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=10221f8a76521c61dcca5dfbc9ce3c28b99bf683;p=civicrm-core.git CRM-11823 - D7 - Restore JS on upgrade screen --- diff --git a/CRM/Utils/System/Base.php b/CRM/Utils/System/Base.php index e6b0a8ef31..ef07c21888 100644 --- a/CRM/Utils/System/Base.php +++ b/CRM/Utils/System/Base.php @@ -33,6 +33,9 @@ abstract class CRM_Utils_System_Base { if ($maintenance) { drupal_set_breadcrumb(''); drupal_maintenance_theme(); + if ($region = CRM_Core_Region::instance('html-header', FALSE)) { + CRM_Utils_System::addHTMLHead($region->render('')); + } print theme('maintenance_page', array('content' => $content)); exit(); }