Skip to content

Commit

Permalink
Merge pull request #4343 from LibreSign/backport/4340/stable30
Browse files Browse the repository at this point in the history
[stable30] fix: submit on click
  • Loading branch information
vitormattos authored Jan 16, 2025
2 parents 3b5485f + 20dae51 commit f84b799
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Components/Request/RequestPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
<template #actions>
<NcButton :disabled="!canUploadFronUrl"
type="primary"
native-type="submit">
native-type="submit"
@click="uploadUrl()">
{{ t('libresign', 'Send') }}
<template #icon>
<NcLoadingIcon v-if="loading" :size="20" />
Expand Down
1 change: 1 addition & 0 deletions src/views/CreatePassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<template #actions>
<NcButton :disabled="hasLoading"
native-type="submit"
@click="send()"
type="primary">
<template #icon>
<NcLoadingIcon v-if="hasLoading" :size="20" />
Expand Down
1 change: 1 addition & 0 deletions src/views/ReadCertificate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<template v-if="Object.keys(certificateData).length === 0" #actions>
<NcButton :disabled="hasLoading"
native-type="submit"
@click="send()"
type="primary">
<template #icon>
<NcLoadingIcon v-if="hasLoading" :size="20" />
Expand Down
1 change: 1 addition & 0 deletions src/views/ResetPassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<NcButton :disabled="!canSave"
:class="hasLoading ? 'btn-load loading primary btn-confirm' : 'primary btn-confirm'"
native-type="submit"
@click="send()"
type="primary">
<template #icon>
<NcLoadingIcon v-if="hasLoading" :size="20" />
Expand Down
3 changes: 2 additions & 1 deletion src/views/SignPDF/_partials/Sign.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
<template #actions>
<NcButton type="primary"
:disabled="signPassword.length < 3 || loading"
native-type="submit">
native-type="submit"
@click="signWithPassword()">
<template #icon>
<NcLoadingIcon v-if="loading" :size="20" />
</template>
Expand Down

0 comments on commit f84b799

Please sign in to comment.