diff --git a/admin-root/config.js b/admin-root/config.js index 8ac0d4a5..59ae20ec 100644 --- a/admin-root/config.js +++ b/admin-root/config.js @@ -324,7 +324,11 @@ var BuildElement = { } function saved(req) { - alert(req.responseText); + if ('200' == Element.textContent(req.responseXML.getElementsByTagName('status')[0])) { + alert('Saved'); + } else { + alert("Couldn't save and if this weren't a beta I'd tell you why"); + } } function saveForm() { var postVars = []; diff --git a/admin-root/config.xml b/admin-root/config.xml index 36ca1dc0..cf2ed885 100644 --- a/admin-root/config.xml +++ b/admin-root/config.xml @@ -1,7 +1,7 @@
- + Server Name The name iTunes and other daap clients should see @@ -13,12 +13,12 @@ text - + Web Root text - + Port The port the server should run at; default is 3689 @@ -30,12 +30,12 @@ text - + Run As text - + Admin password The password for this administration interface. @@ -82,7 +82,7 @@
- + MP3 Directory text @@ -116,7 +116,7 @@
- + Database Type select @@ -125,12 +125,12 @@ - + Database Directory text - + Scan Type select @@ -140,14 +140,14 @@ - + Rescan Interval How often should mt-daapd look for new files? In seconds. text - + Always Scan select @@ -159,12 +159,12 @@
- + Plugin Directory text - + Plugins text