fix erase feature of mail
This commit is contained in:
@@ -12,7 +12,6 @@ if (!session_data.isRegistered()) {
|
|||||||
if (!intro_seen && !request_headers.query.intro_seen) {
|
if (!intro_seen && !request_headers.query.intro_seen) {
|
||||||
// user is trying to bypass the intro screen
|
// user is trying to bypass the intro screen
|
||||||
headers = "300 OK\nLocation: wtv-mail:/DiplomaMail?came-from=" + encodeURIComponent(request_headers.request_url);
|
headers = "300 OK\nLocation: wtv-mail:/DiplomaMail?came-from=" + encodeURIComponent(request_headers.request_url);
|
||||||
} else if (request_headers.query.clear == "true") {
|
|
||||||
} else if (request_headers.query.clear == "true") {
|
} else if (request_headers.query.clear == "true") {
|
||||||
if (request_headers.Referer)
|
if (request_headers.Referer)
|
||||||
gourl = request_headers.Referer.replace(/[\?\&]clear\=true/, '');
|
gourl = request_headers.Referer.replace(/[\?\&]clear\=true/, '');
|
||||||
|
|||||||
Reference in New Issue
Block a user