From 99ab2dbfb8d1d9bc4563575676fcf8f2b18825c8 Mon Sep 17 00:00:00 2001 From: woutervanwijk Date: Mon, 22 Sep 2014 00:16:25 +0200 Subject: [PATCH] make reboot/update work with mopidy-websettings --- mopidy_musicbox_webclient/static/js/controls.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy_musicbox_webclient/static/js/controls.js b/mopidy_musicbox_webclient/static/js/controls.js index 3502144..825974e 100644 --- a/mopidy_musicbox_webclient/static/js/controls.js +++ b/mopidy_musicbox_webclient/static/js/controls.js @@ -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); }