aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/models/report.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-03-06 15:47:43 +0000
committerStruan Donald <struan@exo.org.uk>2013-03-06 15:47:43 +0000
commitcfbcc68f2fc054752fa374a6d3f3986976887cd6 (patch)
tree969023e0e32ce5a2c2ed42930787d63134d29d2c /www/js/models/report.js
parent3e81b5f88d5abe92315927186fe1879e6d49184b (diff)
submit report by signing in with a password
Diffstat (limited to 'www/js/models/report.js')
-rw-r--r--www/js/models/report.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/models/report.js b/www/js/models/report.js
index 4334ba4..e7198a3 100644
--- a/www/js/models/report.js
+++ b/www/js/models/report.js
@@ -68,7 +68,7 @@
phone: model.get('user').get('phone')
};
- if ( this.submit_clicked == 'submit_sign_in' ) {
+ if ( model.get('submit_clicked') == 'submit_sign_in' ) {
params.submit_sign_in = 1;
params.password_sign_in = model.get('user').get('password');
} else {