gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant-backoffice] 02/02: avoid action-less form


From: gnunet
Subject: [taler-merchant-backoffice] 02/02: avoid action-less form
Date: Sun, 23 Oct 2022 18:11:16 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository merchant-backoffice.

commit 264b14818f71751f61fd21df17a1837435b0e793
Author: MS <ms@taler.net>
AuthorDate: Sun Oct 23 18:09:49 2022 +0200

    avoid action-less form
---
 packages/bank/src/pages/home/index.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/packages/bank/src/pages/home/index.tsx 
b/packages/bank/src/pages/home/index.tsx
index 2d015ac..7352d10 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -542,6 +542,7 @@ async function confirmWithdrawalCall(
       
`access-api/accounts/${backendState.username}/withdrawals/${withdrawalId}/confirm`,
       backendState.url
     )
+    console.log("Confirming the withdrawal at", url.href);
     res = await fetch(url.href, {
       method: 'POST',
       headers
@@ -1133,7 +1134,7 @@ const TalerWithdrawalConfirmationQuestion = (Props: any): 
VNode => {
     <h1 class="nav">{i18n`Confirm Withdrawal`}</h1>
     <article>
       <div class="challenge-div">
-        <form class="challenge-form">
+        <form action="javascript:void(0);" class="challenge-form">
           <div class="pure-form"
             id="captcha"
             name="capcha-form">

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]