From 892542b08dc6e092b9dc4161ec974b3ff0d7076e Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 11 Dec 2012 09:27:44 +0100 Subject: [PATCH] Fixed double sent login data. --- app/assets/javascripts/app/controllers/login.js.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/login.js.coffee b/app/assets/javascripts/app/controllers/login.js.coffee index 2f97b9bdc..406031ff8 100644 --- a/app/assets/javascripts/app/controllers/login.js.coffee +++ b/app/assets/javascripts/app/controllers/login.js.coffee @@ -52,9 +52,10 @@ class Index extends App.Controller # scroll to top @scrollTo() - login: (e) -> e.preventDefault() + e.stopPropagation() + @formDisable(e) params = @formParam(e.target)