mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
PATCH: fixing jquery link to thirdparty/jquery-query/jquery.query.js
This commit is contained in:
parent
b6737962df
commit
8d403a1d83
@ -352,7 +352,7 @@ class ContentController extends Controller
|
|||||||
if (Director::isDev() || Permission::check('CMS_ACCESS_CMSMain') || Permission::check('VIEW_DRAFT_CONTENT')) {
|
if (Director::isDev() || Permission::check('CMS_ACCESS_CMSMain') || Permission::check('VIEW_DRAFT_CONTENT')) {
|
||||||
if ($this->dataRecord) {
|
if ($this->dataRecord) {
|
||||||
Requirements::css('silverstripe/cms: client/dist/styles/SilverStripeNavigator.css');
|
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');
|
Requirements::javascript('silverstripe/cms: client/dist/js/SilverStripeNavigator.js');
|
||||||
|
|
||||||
$return = $nav = SilverStripeNavigator::get_for_record($this->dataRecord);
|
$return = $nav = SilverStripeNavigator::get_for_record($this->dataRecord);
|
||||||
|
Loading…
Reference in New Issue
Block a user