diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-23 19:52:41 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-23 19:52:41 -0500 |
| commit | e7703ca78d5b3f63a98f995c128db3a963eac7b4 (patch) | |
| tree | 976bedb17af3b67946573e4274177e7e2c0c9fca /StoneIsland/www/js/lib/auth/SignupView.js | |
| parent | 057742265e771dfd75ad9eddb3414e807e110995 (diff) | |
add to cart race condition
Diffstat (limited to 'StoneIsland/www/js/lib/auth/SignupView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/auth/SignupView.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js index fe0e28db..5d947d41 100644 --- a/StoneIsland/www/js/lib/auth/SignupView.js +++ b/StoneIsland/www/js/lib/auth/SignupView.js @@ -29,10 +29,11 @@ var SignupView = FormView.extend({ }, show: function(){ - var msg = "* Your personal and payment<br>information will always remain private" if (auth.logged_in()) { - msg += "<br><br>You are already logged in." + app.router.go("intro") + return } + var msg = "* Your personal and payment<br>information will always remain private" app.footer.show("SUBMIT", "CANCEL") this.$form.get(0).reset() this.$msg.html(msg) |
