js: Prevent that collapsible buttons submit forms

This commit is contained in:
Johannes Meyer 2019-07-23 13:42:02 +02:00
parent 8310d9c781
commit 5e09cd647a
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ $innerLayoutScript = $this->layout()->innerLayout . '.phtml';
}());
</script>
<div id="collapsible-control-ghost" class="collapsible-control">
<button>
<button type="button">
<?= $this->icon('angle-double-down', $this->translate('Expand'), ['class' => 'expand-icon']) ?>
<?= $this->icon('angle-double-up', $this->translate('Collapse'), ['class' => 'collapse-icon']) ?>
</button>