PATCH: fixing jquery link to thirdparty/jquery-query/jquery.query.js

This commit is contained in:
Nicolaas / Sunny Side Up 2023-01-10 10:16:09 +13:00 committed by Loz Calver
parent b6737962df
commit 8d403a1d83

View File

@ -352,7 +352,7 @@ class ContentController extends Controller
if (Director::isDev() || Permission::check('CMS_ACCESS_CMSMain') || Permission::check('VIEW_DRAFT_CONTENT')) {
if ($this->dataRecord) {
Requirements::css('silverstripe/cms: client/dist/styles/SilverStripeNavigator.css');
Requirements::javascript('silverstripe/admin: thirdparty/jquery/jquery.js');
Requirements::javascript('silverstripe/admin: thirdparty/jquery-query/jquery.query.js');
Requirements::javascript('silverstripe/cms: client/dist/js/SilverStripeNavigator.js');
$return = $nav = SilverStripeNavigator::get_for_record($this->dataRecord);