Skip to content

Commit

Permalink
Fix js crash
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRoosz committed Apr 20, 2022
1 parent 399c91f commit e4b23dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Copy it into the plugins folder.
GPL v3 or later

## Changelog
- 4.0.5
- Fix js crash

- 4.0.4
- Show all users in "add-to-group" user selection in "Manage groups"

Expand Down
4 changes: 3 additions & 1 deletion javascripts/groupPermissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,5 +305,7 @@ $(document).ready(function () {

$('#groupPermissionsGroupCreateGroupButton').click(bindCreateGroup);

initializeUserSelect();
if ($('#groupPermissionsGroupAddUserSelect').length) {
initializeUserSelect();
}
});
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"email": "michael.roosz@web.de"
}],
"description": "Manage user permissions with groups.",
"version": "4.0.4",
"version": "4.0.5",
"theme": false,
"require": {
"matomo": ">=4.0.0-b1,<5.0.0-b1"
Expand Down

0 comments on commit e4b23dc

Please sign in to comment.