From: Coleman Watts Date: Thu, 6 Nov 2014 16:34:12 +0000 (-0500) Subject: CRM-15524 - Move APIExplorer.js back to footer X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7275c5f991652218ce9b5b04ff215529e6f828cf;p=civicrm-core.git CRM-15524 - Move APIExplorer.js back to footer --- diff --git a/CRM/Admin/Page/APIExplorer.php b/CRM/Admin/Page/APIExplorer.php index f53532aae3..809fb95f84 100644 --- a/CRM/Admin/Page/APIExplorer.php +++ b/CRM/Admin/Page/APIExplorer.php @@ -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(); }