CRM-11823 - D7 - Restore JS on upgrade screen
authorTim Otten <to-git@think.hm>
Tue, 12 Mar 2013 17:38:04 +0000 (13:38 -0400)
committerCiviCRM <info@civicrm.org>
Sat, 16 Mar 2013 15:55:08 +0000 (11:55 -0400)
CRM/Utils/System/Base.php

index e6b0a8ef316fe9667996a7b7a8c1655605c6b921..ef07c218885b95d6f090f01ac5002c7b2f39b375 100644 (file)
@@ -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();
       }