From 510fbde5b82087cee4320d632d8dfdb30043f500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Betn=C3=A9r?= Date: Mon, 22 May 2006 22:26:19 +0000 Subject: [PATCH] Config.html is actually usable --- admin-root/config.html | 2 +- admin-root/config.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/admin-root/config.html b/admin-root/config.html index c1581c7c..1e597eef 100644 --- a/admin-root/config.html +++ b/admin-root/config.html @@ -41,7 +41,7 @@ configuration file itself is writable by the mt-daapd server. If you make changes to these settings, they will not be reflected in the running server. The server must be restarted for these values to take effect.--> -This is work in progress. no changes saved, some fields not updated, some not even in mt-daapd.conf

+This is still in beta, but it seems to work. Go ahead and give it a spin.

diff --git a/admin-root/config.js b/admin-root/config.js index 59ae20ec..b2077d77 100644 --- a/admin-root/config.js +++ b/admin-root/config.js @@ -357,6 +357,8 @@ function saveForm() { }); } function cancelForm() { + alert("Cancel doesn't work, reload the page to revert your changes"); +return; ConfigXML.getSections().each(function (section){ ConfigXML.getItems(section).each(function (itemId) { var item = ConfigXML.getOption(section,itemId);