Skip to content

Commit

Permalink
Fixed #16487
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
brandonkelly committed Mar 4, 2025
1 parent 4402a75 commit 5b54e09
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Fixed a bug where lazy eager-loading was invoked even if the source element was queried alone.
- Fixed a bug where element selection condition rules weren’t remembering their element ID value if they were created before Craft 5.6.
- Fixed an error that could occur when saving a Commerce variant. ([#16789](https://github.com/craftcms/cms/pull/16789))
- Fixed a bug where two entries could be created simultaneously when creating a new entry via the “New entry” menu on the Entries index page. ([#16487](https://github.com/craftcms/cms/issues/16487))
- Fixed a styling issue. ([#16791](https://github.com/craftcms/cms/issues/16791))

## 5.6.10.2 - 2025-02-26
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.

3 changes: 2 additions & 1 deletion src/web/assets/cp/src/js/EntryIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ Craft.EntryIndex = Craft.BaseElementIndex.extend({
section: section.name,
}),
}).appendTo($li);
this.addListener($a, 'activate', () => {
this.addListener($a, 'activate', (ev) => {
ev.originalEvent.preventDefault();
$menuBtn.data('trigger').hide();
this._createEntry(section.id);
});
Expand Down

0 comments on commit 5b54e09

Please sign in to comment.