Fix multiple messages on windows after change config with reboot

This commit is contained in:
Ozzie Isaacs 2021-07-26 16:50:21 +02:00
parent 018f3ca250
commit 53dae32897

View File

@ -611,7 +611,10 @@ $(function() {
if (xhr.status < 400) { if (xhr.status < 400) {
$("#spinning_success").hide(); $("#spinning_success").hide();
clearInterval(rebootInterval); clearInterval(rebootInterval);
handle_response(data.result); if (data.result) {
handle_response(data.result);
data.result = "";
}
} }
}, },
}); });