From 15a4e312edac2527ec013397dc1256fad164bdb2 Mon Sep 17 00:00:00 2001 From: lukeIam Date: Sun, 27 Oct 2013 13:27:15 +0100 Subject: [PATCH] Webserver: Fixed autologut bug with createprofile --- Vocaluxe/Website/js/main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Vocaluxe/Website/js/main.js b/Vocaluxe/Website/js/main.js index c14d452f..924b8b85 100644 --- a/Vocaluxe/Website/js/main.js +++ b/Vocaluxe/Website/js/main.js @@ -578,6 +578,11 @@ function logout() { } function checkSession() { + if (ownProfileId == -1 + && profileIdRequest == -1 + && ($.mobile.activePage.attr("id") == "displayProfile" || $.mobile.activePage.attr("id") == "login")) { + return; + } request({ url: "getOwnProfileId" }).done(function (result) {