From 24bff998c6ea49dc382f570c1475b8f97ca2ef47 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 21 Sep 2020 21:16:22 -0400 Subject: [PATCH] Remove obsolete load-bootstrap.js --- CRM/Api4/Page/Api4Explorer.php | 1 - js/load-bootstrap.js | 7 ------- 2 files changed, 8 deletions(-) delete mode 100644 js/load-bootstrap.js diff --git a/CRM/Api4/Page/Api4Explorer.php b/CRM/Api4/Page/Api4Explorer.php index 8f2942d942..d78ef91ddc 100644 --- a/CRM/Api4/Page/Api4Explorer.php +++ b/CRM/Api4/Page/Api4Explorer.php @@ -43,7 +43,6 @@ class CRM_Api4_Page_Api4Explorer extends CRM_Core_Page { ->addBundle('bootstrap3') ->addVars('api4', $vars) ->addPermissions(['access debug output', 'edit groups', 'administer reserved groups']) - ->addScriptFile('civicrm', 'js/load-bootstrap.js') ->addScriptFile('civicrm', 'bower_components/js-yaml/dist/js-yaml.min.js') ->addScriptFile('civicrm', 'bower_components/marked/marked.min.js') ->addScriptFile('civicrm', 'bower_components/google-code-prettify/bin/prettify.min.js') diff --git a/js/load-bootstrap.js b/js/load-bootstrap.js deleted file mode 100644 index e528805a18..0000000000 --- a/js/load-bootstrap.js +++ /dev/null @@ -1,7 +0,0 @@ -// Loads a copy of shoreditch's bootstrap if bootstrap is missing -CRM.$(function($) { - if (!$.isFunction($.fn.dropdown)) { - //CRM.loadScript(CRM.vars.api4.basePath + 'lib/shoreditch/dropdown.js'); - //$('head').append(''); - } -}); -- 2.25.1