fix: fix submit button for running problem report

esp. on Chrome(-based) browsers
This commit is contained in:
Lance Edgar 2024-11-01 17:47:46 -05:00
parent 9a6f8970ae
commit 54220601ed

View file

@ -45,11 +45,10 @@
<b-button @click="runReportShowDialog = false"> <b-button @click="runReportShowDialog = false">
Cancel Cancel
</b-button> </b-button>
${h.form(master.get_action_url('execute', instance))} ${h.form(master.get_action_url('execute', instance), **{'@submit': 'runReportSubmitting = true'})}
${h.csrf_token(request)} ${h.csrf_token(request)}
<b-button type="is-primary" <b-button type="is-primary"
native-type="submit" native-type="submit"
@click="runReportSubmitting = true"
:disabled="runReportSubmitting" :disabled="runReportSubmitting"
icon-pack="fas" icon-pack="fas"
icon-left="arrow-circle-right"> icon-left="arrow-circle-right">