Merge pull request #2604 from alphagov/template-folder-error-bug

template folder js bug
This commit is contained in:
Leo Hemsted
2018-12-19 15:38:59 +00:00
committed by GitHub

View File

@@ -33,6 +33,8 @@
this.currentState = this.$form.data('prev-state') || 'unknown';
if (this.currentState === 'unknown') {
this.selectActionButtons();
} else {
this.render();
}
this.$form.on('click', 'button.button-secondary', (event) => this.actionButtonClicked(event));