From e7703ca78d5b3f63a98f995c128db3a963eac7b4 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 23 Nov 2015 19:52:41 -0500 Subject: add to cart race condition --- StoneIsland/www/js/lib/auth/SignupView.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'StoneIsland/www/js/lib/auth/SignupView.js') 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
information will always remain private" if (auth.logged_in()) { - msg += "

You are already logged in." + app.router.go("intro") + return } + var msg = "* Your personal and payment
information will always remain private" app.footer.show("SUBMIT", "CANCEL") this.$form.get(0).reset() this.$msg.html(msg) -- cgit v1.2.3-70-g09d2