Skip to content

Commit

Permalink
pkp/pkp-lib#9753 [stable-3_4_0] Move import of jqueryui 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 b1e91b4 commit c690a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/themes/default/DefaultThemePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,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-u' . $min . '.js';
// Use an empty `baseUrl` argument to prevent the theme from looking for
// the files within the theme directory
$this->addScript('jQuery', $jquery, ['baseUrl' => '']);
Expand Down

0 comments on commit c690a82

Please sign in to comment.