Skip to content

Commit

Permalink
Merge pull request #192 from symbiote/fix-jquery-dependency
Browse files Browse the repository at this point in the history
fix(MemberProfilePageController) Remove jquery dep
  • Loading branch information
nyeholt authored Sep 13, 2024
2 parents a1435a0 + b021e5c commit b7e528f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Pages/MemberProfilePageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -713,11 +713,6 @@ protected function getProfileFields($context)
$field = $field->performReadonlyTransformation();
}

if ($name === 'Password') {
Requirements::javascript("silverstripe/admin: thirdparty/jquery/jquery.js");
Requirements::javascript("symbiote/silverstripe-memberprofiles: client/javascript/ConfirmedPasswordField.js");
}

// The follow two if-conditions were added since the SS4 migration because a Password label disappeared
$fieldTitle = $profileField->getTitle();
if ($fieldTitle) {
Expand Down

0 comments on commit b7e528f

Please sign in to comment.