diff options
author | nickago <ngonella@calpoly.edu> | 2015-07-29 08:32:26 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-07-29 08:32:26 -0700 |
commit | 2775225e0dba77ab2c47286d5c225575cadc8834 (patch) | |
tree | 7207d0a93e920f17eaba3e65ff2f858abe5c9943 /web/react | |
parent | 7b776fbb781e89670273283e82614aa9c5954040 (diff) | |
download | chat-2775225e0dba77ab2c47286d5c225575cadc8834.tar.gz chat-2775225e0dba77ab2c47286d5c225575cadc8834.tar.bz2 chat-2775225e0dba77ab2c47286d5c225575cadc8834.zip |
Added IE friendly window origin function in place of unwrapped call
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/signup_team_complete.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/signup_team_complete.jsx b/web/react/components/signup_team_complete.jsx index 238714502..b342f3a3c 100644 --- a/web/react/components/signup_team_complete.jsx +++ b/web/react/components/signup_team_complete.jsx @@ -591,7 +591,7 @@ PasswordPage = React.createClass({ props.state.wizard = "finished"; props.updateParent(props.state, true); - window.location.href = window.location.origin + '/' + props.state.team.name + '/login?email=' + encodeURIComponent(teamSignup.team.email); + window.location.href = utils.getWindowLocationOrigin() + '/' + props.state.team.name + '/login?email=' + encodeURIComponent(teamSignup.team.email); // client.loginByEmail(teamSignup.team.domain, teamSignup.team.email, teamSignup.user.password, // function(data) { |