[rs-commit] r326 - /rs-interop/trunk/src/site/resources/csr/certenroll.js

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Mar 1 14:01:57 CET 2020


Author: minfrin at redwax.eu
Date: Sun Mar  1 14:01:56 2020
New Revision: 326

Log:
Prevent a submit once javascript has handled the request.

Modified:
    rs-interop/trunk/src/site/resources/csr/certenroll.js

Modified: rs-interop/trunk/src/site/resources/csr/certenroll.js
==============================================================================
--- rs-interop/trunk/src/site/resources/csr/certenroll.js	(original)
+++ rs-interop/trunk/src/site/resources/csr/certenroll.js	Sun Mar  1 14:01:56 2020
@@ -93,6 +93,8 @@
         console.log(formData);
         xhr.send(formData);
 
+        event.preventDefault();
+
         return false;
     }
     catch (ex) {



More information about the rs-commit mailing list