make reboot/update work with mopidy-websettings

This commit is contained in:
woutervanwijk 2014-09-22 00:16:25 +02:00
parent 7c053981b7
commit 99ab2dbfb8

View File

@ -612,13 +612,13 @@ function saveRadioStations() {
}
function haltSystem() {
$.post("/haltSystem");
$.post("/settings/shutdown");
toast('Stopping system...', 10000);
setTimeout(function(){window.history.back();}, 10000);
}
function rebootSystem() {
$.post("/rebootSystem");
$.post("/settings/reboot");
toast('Rebooting...', 10000);
setTimeout(function(){window.history.back();}, 10000);
}