File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ workflows:
6666 branches :
6767 only :
6868 - dev
69+ - hotfix/buttonDoubleClick
6970
7071 # Production builds are exectuted only on tagged commits to the
7172 # master branch.
Original file line number Diff line number Diff line change 11
22var apiServerUrl = "https://api.{{DOMAIN}}/v3/users" ;
3+ var submit_flag = true ;
34var qs = ( function ( a ) {
45 if ( a == "" ) return { } ;
56 var b = { } ;
@@ -43,7 +44,7 @@ $(document).ready(function () {
4344 $ ( "#error" ) . html ( "Error: " + result . result . content . reason ) ;
4445 $ ( "#error" ) . closest ( ".message" ) . fadeIn ( ) ;
4546 }
46- if ( result . result . status === 200 && result . result . content . valid ) {
47+ if ( result . result . status === 200 && result . result . content . valid && submit_flag ) {
4748 $ ( "#error" ) . closest ( ".message" ) . fadeOut ( ) ;
4849 $ ( "#error" ) . html ( "" ) ;
4950 let formAction = qs [ "formAction" ] ;
@@ -61,6 +62,7 @@ $(document).ready(function () {
6162 $ ( "#utmCampaign" ) . val ( qs [ "utmCampaign" ] ) ;
6263 $ ( "#returnUrl" ) . val ( qs [ "returnUrl" ] ) ;
6364 $ ( "#signup" ) . submit ( ) ;
65+ submit_flag = false ;
6466 setContinueButtonDisabledStatus ( true ) ;
6567 }
6668 } ,
You can’t perform that action at this time.
0 commit comments