From 693c08cc3b86d289f983b1c03fe1fdf02fef8a7d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 19 Jun 2015 01:00:38 +0200 Subject: fixed early call to listdropboxes.cgi 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(); -- cgit v0.10.2