mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
Config.html is actually usable
This commit is contained in:
parent
dbf2359c89
commit
510fbde5b8
@ -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
|
make changes to these settings, they will not be reflected in the
|
||||||
running server. The server must be restarted for these values to
|
running server. The server must be restarted for these values to
|
||||||
take effect.-->
|
take effect.-->
|
||||||
This is work in progress. no changes saved, some fields not updated, some not even in mt-daapd.conf</p>
|
This is still in beta, but it seems to work. Go ahead and give it a spin.</p>
|
||||||
<div id="config_not_writable_warning" style="display: none;">Your config file is not writable, you can not change anything using this webpage</div>
|
<div id="config_not_writable_warning" style="display: none;">Your config file is not writable, you can not change anything using this webpage</div>
|
||||||
<form id="theform" method="get" action="#">
|
<form id="theform" method="get" action="#">
|
||||||
</form>
|
</form>
|
||||||
|
@ -357,6 +357,8 @@ function saveForm() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
function cancelForm() {
|
function cancelForm() {
|
||||||
|
alert("Cancel doesn't work, reload the page to revert your changes");
|
||||||
|
return;
|
||||||
ConfigXML.getSections().each(function (section){
|
ConfigXML.getSections().each(function (section){
|
||||||
ConfigXML.getItems(section).each(function (itemId) {
|
ConfigXML.getItems(section).each(function (itemId) {
|
||||||
var item = ConfigXML.getOption(section,itemId);
|
var item = ConfigXML.getOption(section,itemId);
|
||||||
|
Loading…
Reference in New Issue
Block a user