Skip to content

Commit

Permalink
Fix #788
Browse files Browse the repository at this point in the history
  • Loading branch information
ttempleton committed Sep 27, 2023
1 parent 8e68484 commit afc6b45
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Fixed
- Fixed a bug where empty field layout tabs on Neo block types would be duplicated when saving the Neo field
- Fixed an error that occurred when creating a new block that contains a Vizy field

## 3.9.2 - 2023-09-23

Expand Down
2 changes: 1 addition & 1 deletion src/assets/dist/neo-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/assets/dist/neo-main.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/assets/src/input/BlockType.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export default Garnish.Base.extend({
collapsed: false,
enabled: true,
level: 1,
ownerId: this._field?.getOwnerId(),
type: this._id
}]
}
Expand Down
7 changes: 7 additions & 0 deletions src/assets/src/input/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,13 @@ export default Garnish.Base.extend({
return Array.from(this._templateNs)
},

/**
* @since 3.9.3
*/
getOwnerId () {
return this._ownerId
},

_setMatrixClassErrors () {
// TODO: will need probably need to find a method within php instead of JS
// temp solution for now.
Expand Down

0 comments on commit afc6b45

Please sign in to comment.