Skip to content

Commit

Permalink
Merge pull request #15893 from craftcms/bugfix/expand-status-btn-bug
Browse files Browse the repository at this point in the history
bind expandSiteStatusesBtn to its editor
  • Loading branch information
brandonkelly authored Oct 15, 2024
2 parents b463256 + 78e6fce commit 4f8a70b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Fixed a bug where element actions were allowed on nested entries when viewing a revision. ([#15879](https://github.com/craftcms/cms/pull/15879))
- Fixed a bug where element error summaries weren’t linking to recursively-nested Matrix fields properly. ([#15797](https://github.com/craftcms/cms/issues/15797))
- Fixed a bug where eager-loaded relation fields were loading all related elements across all instances of the field. ([#15890](https://github.com/craftcms/cms/issues/15890))
- Fixed a bug where expanding the site statuses UI for an entry within a slideout would remove the expand button from the main entry’s form. ([#15893](https://github.com/craftcms/cms/pull/15893))
- Fixed a privilege escalation vulnerability.

## 5.4.7.1 - 2024-10-09
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/src/js/ElementEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Craft.ElementEditor = Garnish.Base.extend(
'aria-live': 'polite',
}).appendTo($spinnerContainer);

this.$expandSiteStatusesBtn = $('.expand-status-btn');
this.$expandSiteStatusesBtn = this.$container.find('.expand-status-btn');

if (this.settings.canEditMultipleSites) {
this.addListener(
Expand Down

0 comments on commit 4f8a70b

Please sign in to comment.