← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8670: Minor

 

------------------------------------------------------------
revno: 8670
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
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 );