From 7bb857185415be61a58aaba005548b500f86523a Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Sat, 6 Jul 2024 00:06:41 +0800 Subject: [PATCH] pkp/pkp-lib#9753 [stable-3_3_0] Move import of jquery-ui from vendors dir to js plugins --- plugins/themes/default/DefaultThemePlugin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/themes/default/DefaultThemePlugin.inc.php b/plugins/themes/default/DefaultThemePlugin.inc.php index 7ebc4bdf8b..78f22460c0 100755 --- a/plugins/themes/default/DefaultThemePlugin.inc.php +++ b/plugins/themes/default/DefaultThemePlugin.inc.php @@ -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' => ''));