CRM-15524 - Move APIExplorer.js back to footer
authorColeman Watts <coleman@civicrm.org>
Thu, 6 Nov 2014 16:34:12 +0000 (11:34 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 6 Nov 2014 16:34:12 +0000 (11:34 -0500)
CRM/Admin/Page/APIExplorer.php

index f53532aae3c89a118b379c9a25de39b536c47065..809fb95f84a72e5e7cc303a44e7813d670f0b96b 100644 (file)
@@ -44,9 +44,9 @@ class CRM_Admin_Page_APIExplorer extends CRM_Core_Page {
   function run() {
     CRM_Utils_System::setTitle(ts('API explorer and generator'));
     CRM_Core_Resources::singleton()
-      ->addScriptFile('civicrm', 'templates/CRM/Admin/Page/APIExplorer.js', 1, 'html-header')
-      ->addScriptUrl('//cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.js', 99, 'html-header')
-      ->addStyleUrl('//cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.css', 99, 'html-header');
+      ->addScriptFile('civicrm', 'templates/CRM/Admin/Page/APIExplorer.js')
+      ->addScriptUrl('//cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.js', 99)
+      ->addStyleUrl('//cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.css', 99);
     $this->assign('operators', CRM_Core_DAO::acceptedSQLOperators());
     return parent::run();
   }