Skip to content

Commit 7ba71a4

Browse files
committed
Merge branch 'hotfix' into pr/1007
2 parents 68d3cc6 + 21e43db commit 7ba71a4

5 files changed

Lines changed: 12 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ before_install:
3535
- nvm install 10.12.0
3636
# Install Redis and Memcached
3737
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
38-
- printf "\n" | pecl install -f redis
38+
# Temporary disabled as it's not compatible with PHP 5.6
39+
# - printf "\n" | pecl install -f redis
3940

4041
before_script:
4142
# install deps and UF

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1515
- [PHPMailer] Turn off opportunistic TLS when disabled ([#986], [#987])
1616
- Migrator now ignore files that don't end in `.php` ([#965], [#998])
1717
- Respects CSRF_ENABLED environment variable ([#976]; Thanks @Poldovico !)
18+
- Checkbox bug on password change form ([#1008])
19+
- On role page, users table action buttons not working ([#1010])
1820

1921
## [v4.2.2]
2022

@@ -777,6 +779,8 @@ See [http://learn.userfrosting.com/upgrading/40-to-41](Upgrading 4.0.x to 4.1.x
777779
[#991]: https://github.com/userfrosting/UserFrosting/issues/991
778780
[#993]: https://github.com/userfrosting/UserFrosting/issues/993
779781
[#998]: https://github.com/userfrosting/UserFrosting/issues/998
782+
[#1008]: https://github.com/userfrosting/UserFrosting/issues/1008
783+
[#1010]: https://github.com/userfrosting/UserFrosting/issues/1010
780784

781785
[v4.2.0]: https://github.com/userfrosting/UserFrosting/compare/v4.1.22...v4.2.0
782786
[v4.2.1]: https://github.com/userfrosting/UserFrosting/compare/v4.2.0...v.4.2.1

app/sprinkles/admin/asset-bundles.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
},
7676
"js/pages/role": {
7777
"scripts": [
78+
"userfrosting/js/widgets/users.js",
7879
"userfrosting/js/widgets/roles.js",
7980
"userfrosting/js/pages/role.js"
8081
],

app/sprinkles/admin/assets/userfrosting/js/pages/role.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ $(document).ready(function() {
2020
dataUrl: site.uri.public + '/api/roles/r/' + page.role_slug + '/users',
2121
useLoadingTransition: site.uf_table.use_loading_transition
2222
});
23+
24+
// Bind table buttons
25+
$("#widget-role-users").on("pagerComplete.ufTable", function () {
26+
bindUserButtons($(this));
27+
});
2328
});

app/sprinkles/admin/assets/userfrosting/js/widgets/users.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ function updateUser(userName, fieldName, fieldValue) {
226226

227227
// On submission, submit either the PUT request, or POST for a password reset, depending on the toggle state
228228
modal.find("input[name='change_password_mode']").click(function(e) {
229-
e.preventDefault();
230229

231230
var changePasswordMode = $(this).val();
232231
toggleChangePasswordMode(modal, userName, changePasswordMode);

0 commit comments

Comments
 (0)