Skip to content

Commit

Permalink
pkp/pkp-lib#9753 [stable-3_3_0] Move import of jquery-ui from vendors…
Browse files Browse the repository at this point in the history
… dir to js plugins
  • Loading branch information
blesildaramirez committed Jul 5, 2024
1 parent 5e2e8bc commit 7bb8571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/themes/default/DefaultThemePlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function init() {
// Load jQuery from a CDN or, if CDNs are disabled, from a local copy.
$min = Config::getVar('general', 'enable_minified') ? '.min' : '';
$jquery = $request->getBaseUrl() . '/lib/pkp/lib/vendor/components/jquery/jquery' . $min . '.js';
$jqueryUI = $request->getBaseUrl() . '/lib/pkp/lib/vendor/components/jqueryui/jquery-ui' . $min . '.js';
$jqueryUI = $request->getBaseUrl() . '/lib/pkp/js/lib/jquery/plugins/jquery-ui/jquery-ui' . $min . '.js';
// Use an empty `baseUrl` argument to prevent the theme from looking for
// the files within the theme directory
$this->addScript('jQuery', $jquery, array('baseUrl' => ''));
Expand Down

0 comments on commit 7bb8571

Please sign in to comment.