Prevent default action of Flash banner action link click

This commit is contained in:
kushalpandya 2017-05-25 14:24:02 +05:30 committed by Jarka Kadlecova
parent fb1ba0a55f
commit 791e5024ef

View file

@ -82,7 +82,8 @@ export default class IntegrationSettingsForm {
if (res.error) {
new Flash(`${res.message}.`, null, null, {
title: 'Save anyway',
clickHandler: () => {
clickHandler: (e) => {
e.preventDefault();
this.$form.submit();
},
});