diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-05-04 19:33:51 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-05-06 03:29:39 +0300 |
commit | c77fdaf98dd259dbc6b279f76d204916c95feee8 (patch) | |
tree | 640abfba6286c42338a4736791ef4b78fd26369a /src/views/AccessControl/SslCertificates | |
parent | e5be9ba5c7523a99394695bbb31a9059ca00ff0e (diff) | |
download | webui-vue-c77fdaf98dd259dbc6b279f76d204916c95feee8.tar.xz |
Fix generate CSR submit
Add .prevent modifier to prevent native form submit in
CSR modal which causes unwanted page refresh.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I3d56ed4797bc3829507873029d849a7a1ad03c99
Diffstat (limited to 'src/views/AccessControl/SslCertificates')
-rw-r--r-- | src/views/AccessControl/SslCertificates/ModalGenerateCsr.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/AccessControl/SslCertificates/ModalGenerateCsr.vue b/src/views/AccessControl/SslCertificates/ModalGenerateCsr.vue index 3f53c41b..bb74c19c 100644 --- a/src/views/AccessControl/SslCertificates/ModalGenerateCsr.vue +++ b/src/views/AccessControl/SslCertificates/ModalGenerateCsr.vue @@ -12,7 +12,7 @@ @cancel="resetForm" @hidden="$v.$reset()" > - <b-form id="generate-csr-form" novalidate @submit="handleSubmit"> + <b-form id="generate-csr-form" novalidate @submit.prevent="handleSubmit"> <b-container fluid> <b-row> <b-col lg="9"> |