summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-06-18 23:00:38 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-06-18 23:00:38 (GMT)
commit693c08cc3b86d289f983b1c03fe1fdf02fef8a7d (patch)
treeffcd63df989f0ac7b114f071e02a63783bb100c0 /www/js
parente3b8f1bd887e68d35796d8044072a4758818a529 (diff)
fixed early call to listdropboxes.cgi
Diffstat (limited to 'www/js')
-rw-r--r--www/js/apps.js1
-rw-r--r--www/js/auth.js6
2 files changed, 2 insertions, 5 deletions
diff --git a/www/js/apps.js b/www/js/apps.js
index 69f55f1..e1e81b1 100644
--- a/www/js/apps.js
+++ b/www/js/apps.js
@@ -40,7 +40,6 @@ function apps_select(app) {
function apps_init() {
apps_current = sessionStorage.getItem("apps_current");
- apps_select(apps_current);
}
function apps_cleanup() {
diff --git a/www/js/auth.js b/www/js/auth.js
index 29dde31..b01eb7d 100644
--- a/www/js/auth.js
+++ b/www/js/auth.js
@@ -29,8 +29,7 @@ function auth_loginError(req, status, error) {
$("#password").val('');
}
-function auth_login()
-{
+function auth_login() {
$.ajax("/authtoken.json",
{ cache: false,
username: $("#username").val(),
@@ -41,8 +40,7 @@ function auth_login()
});
}
-function auth_logout()
-{
+function auth_logout() {
auth_cleanup();
apps_cleanup();