1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 17:11:29 +00:00

misc updater tweaks

This commit is contained in:
Andrew Dolgov
2007-02-24 18:16:33 +01:00
parent 8dc062e527
commit b4c27af79a
5 changed files with 128 additions and 103 deletions

View File

@@ -1526,16 +1526,17 @@ function storeInitParams(params, is_client) {
function fatalError(code, message) {
try {
if (code != 6) {
if (code == 6) {
window.location.href = "login.php?rt=none";
} else if (code == 5) {
window.location.href = "update.php";
} else {
var fe = document.getElementById("fatal_error");
var fc = document.getElementById("fatal_error_msg");
fc.innerHTML = "Code " + code + ": " + message;
fe.style.display = "block";
} else {
window.location.href = "login.php?rt=none";
}
} catch (e) {