aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/router.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-04-26 14:59:20 +0100
committerStruan Donald <struan@exo.org.uk>2013-04-26 15:17:48 +0100
commit5c4169e09d865b9d6658dcee56532853671bd590 (patch)
tree58b329cec2f5beb7b5a53b6cda072ff2f6d4c604 /www/js/router.js
parentdcc6095c50594278d035a4c29467d1de56cd33f5 (diff)
check logged in status by using api call
Diffstat (limited to 'www/js/router.js')
-rw-r--r--www/js/router.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/router.js b/www/js/router.js
index 6d4bb44..0832599 100644
--- a/www/js/router.js
+++ b/www/js/router.js
@@ -75,7 +75,7 @@
submitStart: function() {
var submitView;
- if ( FMS.currentUser && FMS.isLoggedIn() ) {
+ if ( FMS.currentUser && FMS.isLoggedIn ) {
submitView = new FMS.SubmitConfirmView({ model: FMS.currentDraft });
} else {
submitView = new FMS.SubmitEmailView({ model: FMS.currentDraft });