diff options
author | Struan Donald <struan@exo.org.uk> | 2013-08-08 15:35:25 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-08-08 15:35:25 +0100 |
commit | 817e0160ce9958414a314173b87413814ba7c7ca (patch) | |
tree | a802633e1afd43fbb238047dd271a4e1d80c1187 | |
parent | 633553ba454fef46841bb43961ec9581846a5ba5 (diff) |
Reset submission type if confirming by email
Prevents the app form attempting to log you in if you've attempted
password login, it's failed and you've gone back to email confirmation.
Fixes #88
-rw-r--r-- | src/js/views/submit.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/views/submit.js b/src/js/views/submit.js index 5a45de2..1d31098 100644 --- a/src/js/views/submit.js +++ b/src/js/views/submit.js @@ -207,6 +207,7 @@ onClickConfirm: function(e) { e.preventDefault(); + this.model.set('submit_clicked', ''); if ( this.validate() ) { FMS.currentUser.set('email', $('#form_email').val()); this.navigate( 'submit-name' ); |