From 9bc7e38ea5d76c6a98a3ef824dc520ea79e9ca97 Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Fri, 5 Jul 2024 22:28:04 +0800 Subject: [PATCH] pkp/pkp-lib#9753 [main] Move import of jqueryui from vendors dir to js plugins --- plugins/themes/default/DefaultThemePlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/themes/default/DefaultThemePlugin.php b/plugins/themes/default/DefaultThemePlugin.php index a9a6c52c117..5a3f319175d 100644 --- a/plugins/themes/default/DefaultThemePlugin.php +++ b/plugins/themes/default/DefaultThemePlugin.php @@ -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-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, ['baseUrl' => '']);