diff options
author | Struan Donald <struan@exo.org.uk> | 2013-04-26 14:59:20 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-04-26 15:17:48 +0100 |
commit | 5c4169e09d865b9d6658dcee56532853671bd590 (patch) | |
tree | 58b329cec2f5beb7b5a53b6cda072ff2f6d4c604 /www/js/router.js | |
parent | dcc6095c50594278d035a4c29467d1de56cd33f5 (diff) |
check logged in status by using api call
Diffstat (limited to 'www/js/router.js')
-rw-r--r-- | www/js/router.js | 2 |
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 }); |