Skip to content

Commit

Permalink
try redirect again.
Browse files Browse the repository at this point in the history
  • Loading branch information
hpiwowar committed Apr 7, 2016
1 parent d987fb6 commit fdb4a85
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
20 changes: 11 additions & 9 deletions totalimpactwebapp/static/dist/Impactstory.js
Expand Up @@ -3400,15 +3400,9 @@ angular.module( 'signup', [
notOnMobile: function($q, $rootScope, $location){
console.log("trying to resolve /signup")
var deferred = $q.defer()
if ($rootScope.isOnMobile()){
alert("Sorry! Creating new profiles isn't yet supported on your mobile device.")
$location.path("/")
deferred.reject()
}
else {

deferred.resolve()
}
return deferred.promise
return deferred.promise
}
}
})
Expand All @@ -3425,7 +3419,15 @@ angular.module( 'signup', [
Users,
TiMixpanel,
Loading) {
var emailThatIsAlreadyTaken = "aaaaaaaaaaaa@foo.com"


// don't let people sign up on this version any more; redirect to
// the current version.
console.log("redirect!")
window.location.href = "http://impactstory.org"


var emailThatIsAlreadyTaken = "aaaaaaaaaaaa@foo.com"

$scope.newUser = {}
$scope.emailTaken = function(){
Expand Down
3 changes: 2 additions & 1 deletion totalimpactwebapp/static/src/app/signup/signup.js
Expand Up @@ -43,7 +43,8 @@ angular.module( 'signup', [

// don't let people sign up on this version any more; redirect to
// the current version.
$location.url("https://impactstory.org")
console.log("redirect!")
window.location.href = "http://impactstory.org"


var emailThatIsAlreadyTaken = "aaaaaaaaaaaa@foo.com"
Expand Down

0 comments on commit fdb4a85

Please sign in to comment.