From 3ff401904b7f1caa096839a7fd2425ab23fc9c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Mon, 10 Aug 2015 10:10:43 +0200 Subject: [PATCH] fix submit to prize button --- js/components/ascribe_forms/form_signup.js | 6 +----- .../components/ascribe_buttons/submit_to_prize_button.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/js/components/ascribe_forms/form_signup.js b/js/components/ascribe_forms/form_signup.js index a454a7e2..67097b42 100644 --- a/js/components/ascribe_forms/form_signup.js +++ b/js/components/ascribe_forms/form_signup.js @@ -55,10 +55,6 @@ let SignupForm = React.createClass({ } }, - getFormData() { - return this.getQuery(); - }, - handleSuccess(response){ if (response.user) { let notification = new GlobalNotificationModel(getLangText('Sign up successful'), 'success', 50000); @@ -80,7 +76,7 @@ let SignupForm = React.createClass({ className="ascribe-form-bordered" ref='form' url={ApiUrls.users_signup} - getFormData={this.getFormData} + getFormData={this.getQuery} handleSuccess={this.handleSuccess} buttons={