Removed timeout originally set on team creation

Этот коммит содержится в:
nickago
2015-07-27 14:29:49 -07:00
родитель 54265271fa
Коммит 7b776fbb78

Просмотреть файл

@@ -587,12 +587,11 @@ PasswordPage = React.createClass({
var props = this.props;
setTimeout(function() {
$('#sign-up-button').button('reset');
props.state.wizard = "finished";
props.updateParent(props.state, true);
window.location.href = utils.getWindowLocationOrigin() + '/' + props.state.team.name + '/login?email=' + encodeURIComponent(teamSignup.team.email);
window.location.href = window.location.origin + '/' + props.state.team.name + '/login?email=' + encodeURIComponent(teamSignup.team.email);
// client.loginByEmail(teamSignup.team.domain, teamSignup.team.email, teamSignup.user.password,
// function(data) {
@@ -605,7 +604,6 @@ PasswordPage = React.createClass({
// this.setState({name_error: err.message});
// }.bind(ctl)
// );
}, 5000);
}.bind(this),
function(err) {
this.setState({server_error: err.message});