Skip to content

Commit

Permalink
Merge branch 'release/4.4.10.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed May 10, 2023
2 parents 0fab7ae + 4bc2d8b commit d51831d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Craft CMS 4

## 4.4.10.1 - 2023-05-10

- Fixed a bug where it wasn’t possible to add new Matrix blocks via the “Add a block” menu. ([#13177](https://github.com/craftcms/cms/issues/13177))

## 4.4.10 - 2023-05-09

- PHP warnings and notices no longer halt execution when Dev Mode is disabled. ([#13164](https://github.com/craftcms/cms/issues/13164))
Expand Down
2 changes: 1 addition & 1 deletion src/config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return [
'id' => 'CraftCMS',
'name' => 'Craft CMS',
'version' => '4.4.10',
'version' => '4.4.10.1',
'schemaVersion' => '4.4.0.4',
'minVersionRequired' => '3.7.11',
'basePath' => dirname(__DIR__), // Defines the @app alias
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/matrix/dist/MatrixInput.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions src/web/assets/matrix/src/MatrixInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,9 @@
});

if (this.$addBlockMenuBtn.length) {
if (this.$addBlockMenuBtn.data('menubtn')) {
this.$addBlockMenuBtn.data('menubtn').destroy();
}
new Garnish.MenuBtn(this.$addBlockMenuBtn, {
onOptionSelect: (option) => {
this.addBlock($(option).data('type'));
},
this.$addBlockMenuBtn.menubtn();
this.$addBlockMenuBtn.data('menubtn').on('optionSelect', (ev) => {
this.addBlock($(ev.option).data('type'));
});
}

Expand Down

0 comments on commit d51831d

Please sign in to comment.