Skip to content

Commit

Permalink
Fix editing already-edited nested entries after reloading the page
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Nov 11, 2024
1 parent 67ac886 commit e8b3fa2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/web/assets/ckeditor/dist/ckeditor5-craftcms.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/ckeditor/dist/ckeditor5-craftcms.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/ckeditor/src/entries/entriesui.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default class CraftEntriesUI extends Plugin {
// then ensure we're working with a draft and save the nested entry changes to the draft
if (
$element !== null &&
$element.data('primary-owner-id') === $element.data('owner-id') &&
Garnish.hasAttr($element, 'data-owner-is-canonical') &&
!elementEditor.settings.isUnpublishedDraft
) {
await slideout.elementEditor.checkForm(true, true);
Expand Down

0 comments on commit e8b3fa2

Please sign in to comment.