Change log: https://roxy-wi.org/changelog.py#6_1_4
pull/334/head
Pavel Loginov 2022-08-16 10:49:53 +03:00
parent abbe7f7079
commit 826f676a77
1 changed files with 10 additions and 2 deletions

View File

@ -141,7 +141,11 @@ function ajaxActionServers(action, id) {
if (data.indexOf('error:') != '-1') {
toastr.error(data);
} else if (cur_url[0] == "hapservers.py") {
location.reload()
if (data.indexOf('warning: ') != '-1') {
toastr.warning(data)
} else {
location.reload()
}
} else {
setTimeout(showOverview(ip, hostnamea), 2000);
}
@ -231,7 +235,11 @@ function ajaxActionApacheServers(action, id) {
if (data.indexOf('error:') != '-1') {
toastr.error(data);
} else if (cur_url[0] == "hapservers.py") {
location.reload()
if (data.indexOf('warning: ') != '-1') {
toastr.warning(data)
} else {
location.reload()
}
} else {
setTimeout(showOverview(ip, hostnamea), 2000)
}