Skip to content

Commit

Permalink
Api4Explorer - Activate bootstrap3
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Sep 4, 2020
1 parent 6e7aded commit 8266ce8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Api4/Page/Api4Explorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public function run() {
'groupOptions' => array_column((array) $groupOptions, 'options', 'name'),
];
Civi::resources()
->addBundle('bootstrap3')
->addVars('api4', $vars)
->addPermissions(['access debug output', 'edit groups', 'administer reserved groups'])
->addScriptFile('civicrm', 'js/load-bootstrap.js')
Expand Down

0 comments on commit 8266ce8

Please sign in to comment.