------------------------------------------------------------
revno: 8670
committer: Lars Helge Ă˜verland <[email protected]>
branch nick: dhis2
timestamp: Tue 2012-10-23 16:15:55 +0200
message:
Minor
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/useraccount/account.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== 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 );
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp