some Fixes on Webui
This commit is contained in:
parent
45363b10fe
commit
35361449eb
@ -14,7 +14,7 @@
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="static/img/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="static/img/favicon-16x16.png">
|
||||
<link rel="manifest" href="static/img/site.webmanifest">
|
||||
<meta http-equiv="refresh" content="3; url='/index.htm'" />
|
||||
<meta http-equiv="refresh" content="3; url='index.htm'" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -313,13 +313,13 @@ void WebserverPOST_Callback(AsyncWebServerRequest *request)
|
||||
if (request->hasParam("reset_ee_pds"))
|
||||
{
|
||||
AsyncWebParameter *param = request->getParam("reset_ee_pds");
|
||||
if (param->value() == "checked")
|
||||
if (param->value() == "on")
|
||||
globals.requestEEAction = globals.requestEEAction == EE_CFG_FORMAT ? EE_FORMAT_ALL : EE_PDS_FORMAT;
|
||||
}
|
||||
if (request->hasParam("reset_ee_cfg"))
|
||||
{
|
||||
AsyncWebParameter *param = request->getParam("reset_ee_cfg");
|
||||
if (param->value() == "checked")
|
||||
if (param->value() == "on")
|
||||
globals.requestEEAction = globals.requestEEAction == EE_PDS_FORMAT ? EE_FORMAT_ALL : EE_CFG_FORMAT;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user