diff options
-rw-r--r-- | app/assets/javascripts/integrations/integration_settings_form.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/integrations/integration_settings_form.js b/app/assets/javascripts/integrations/integration_settings_form.js index b3adc15e3ee..bb551b5bb4c 100644 --- a/app/assets/javascripts/integrations/integration_settings_form.js +++ b/app/assets/javascripts/integrations/integration_settings_form.js @@ -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(); }, }); |