actually fix FastSplash not saving
This commit is contained in:
@@ -10,7 +10,7 @@ data = `<html>
|
|||||||
<head>
|
<head>
|
||||||
<display hideoptions nostatus showwhencomplete skipback clearback fontsize=medium>
|
<display hideoptions nostatus showwhencomplete skipback clearback fontsize=medium>
|
||||||
<title>Engaging zefie...</title>
|
<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>
|
</head>
|
||||||
<body bgcolor="#000000" text="#449944">
|
<body bgcolor="#000000" text="#449944">
|
||||||
<bgsound src="file://ROM/Sounds/Splash.mid">
|
<bgsound src="file://ROM/Sounds/Splash.mid">
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ by not waiting for the splash music to finish.
|
|||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign=top>
|
<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>
|
<td valign=top>
|
||||||
FastSplash™
|
FastSplash™
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ var minisrv_service_file = true;
|
|||||||
|
|
||||||
|
|
||||||
var fast_splash = wtvshared.parseBool(request_headers.query.fast_splash);
|
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();
|
session_data.saveSessionData();
|
||||||
|
|
||||||
headers = `200 OK
|
headers = `200 OK
|
||||||
|
|||||||
Reference in New Issue
Block a user