actually fix FastSplash not saving

This commit is contained in:
zefie
2022-10-16 13:18:08 -04:00
parent 60cdb3bb72
commit 5ea8a1ff7c
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ data = `<html>
<head>
<display hideoptions nostatus showwhencomplete skipback clearback fontsize=medium>
<title>Engaging zefie...</title>
<meta http-equiv=Refresh content="${(wtvshared.parseBool(session_data.get("fast_splash"))) ? "0" : "4"}; url=wtv-home:/home?">
<meta http-equiv=Refresh content="${(wtvshared.parseBool(session_data.getSessionData("fast_splash"))) ? "0" : "4"}; url=wtv-home:/home?">
</head>
<body bgcolor="#000000" text="#449944">
<bgsound src="file://ROM/Sounds/Splash.mid">

View File

@@ -85,7 +85,7 @@ by not waiting for the splash music to finish.
<table>
<tr>
<td valign=top>
<input type=checkbox name=fast_splash ${(wtvshared.parseBool(session_data.get("fast_splash"))) ? "checked=checked" : ''}>
<input type=checkbox name=fast_splash ${(wtvshared.parseBool(session_data.getSessionData("fast_splash"))) ? "checked=checked" : ''}>
<td valign=top>
FastSplash&trade;

View File

@@ -2,7 +2,7 @@ var minisrv_service_file = true;
var fast_splash = wtvshared.parseBool(request_headers.query.fast_splash);
session_data.set("fast_splash", fast_splash);
session_data.setSessionData("fast_splash", fast_splash);
session_data.saveSessionData();
headers = `200 OK