presets added

This commit is contained in:
Dmitry Borisenko
2020-11-03 00:04:07 +03:00
parent 777a04b901
commit 0efae6949d
12 changed files with 47 additions and 7 deletions

View File

@@ -23,6 +23,12 @@ void web_init() {
request->redirect("/?set.device");
}
if (request->hasArg("addPreset")) {
String name = request->getParam("addPreset")->value();
addPreset(name);
request->redirect("/?set.device");
}
if (request->hasArg("delChoosingItems")) {
myNotAsyncActions->make(do_delChoosingItems);
request->send(200);