diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-06-19 00:25:19 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-06-19 00:25:19 (GMT) |
commit | edbdce251c8226ce89898f5b7a5eb621e2922129 (patch) | |
tree | 9074894e0862fa0d55dda21ae04847950c82672d | |
parent | fbb98febbf9503fbdfb6af18fac6791a31755e9a (diff) |
fixed app reinit after reload
-rw-r--r-- | www/js/apps.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/apps.js b/www/js/apps.js index e1e81b1..f3ed272 100644 --- a/www/js/apps.js +++ b/www/js/apps.js @@ -40,6 +40,9 @@ function apps_select(app) { function apps_init() { apps_current = sessionStorage.getItem("apps_current"); + if(auth_token && auth_username) { + apps_select(apps_current); + } } function apps_cleanup() { |