ENH Move jQuery include away from CDN (#1019)

- Move jQuery include away from CDN
This commit is contained in:
Dylan Wagstaff 2021-01-17 14:37:01 +13:00 committed by GitHub
parent ead1827aa1
commit e7f51d227a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

2
client/thirdparty/jquery-3.4.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -65,7 +65,7 @@ class UserDefinedFormController extends PageController
// load the jquery
if (!$page->config()->get('block_default_userforms_js')) {
Requirements::javascript('//code.jquery.com/jquery-3.4.1.min.js');
Requirements::javascript('silverstripe/userforms:client/thirdparty/jquery-3.4.1.min.js');
Requirements::javascript(
'silverstripe/userforms:client/thirdparty/jquery-validate/jquery.validate.min.js'
);