Merge pull request #713 from martinduparc/patch-3

jquery version update
This commit is contained in:
Dylan Wagstaff 2018-02-09 10:11:41 +13:00 committed by GitHub
commit 311eee9d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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