=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/useraccount/account.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/useraccount/account.js 2012-10-23 10:51:10 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/useraccount/account.js 2012-10-23 14:15:55 +0000 @@ -51,8 +51,7 @@ if ( $.trim( $( "#recaptcha_challenge_field" ).val() ).length == 0 || $.trim( $( "#recaptcha_response_field" ).val() ).length == 0 ) { - $( "#messageSpan" ).show().text( "Please enter a value for the word verification above" ); - + $( "#messageSpan" ).show().text( "Please enter a value for the word verification above" ); return false; } @@ -61,7 +60,7 @@ data: $( "#accountForm" ).serialize(), type: "post", success: function( data ) { - alert("Account created"); + window.location.href = "../../dhis-web-commons-about/redirect.action"; }, error: function( jqXHR, textStatus, errorThrown ) { $( "#messageSpan" ).show().text( jqXHR.responseText );