remove debug info, restart after settings change
This commit is contained in:
@@ -150,7 +150,8 @@ include_once("/home/httpd/cgi-bin/qpkg/RoonServer/__functions.php");
|
||||
return false;
|
||||
});
|
||||
function changeSettings(el) {
|
||||
console.log(el.id + ": " + el.checked);
|
||||
// add code to guide user to press save next
|
||||
//console.log(el.id + ": " + el.checked);
|
||||
}
|
||||
|
||||
$( document ).ready(function() {
|
||||
@@ -160,16 +161,10 @@ include_once("/home/httpd/cgi-bin/qpkg/RoonServer/__functions.php");
|
||||
for (let conf_option of qpkg_options_arr) {
|
||||
document.getElementById(conf_option).checked = true;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// document.getElementById('smb_cifs').checked = false;
|
||||
// document.getElementById('usb_audio').checked = false;
|
||||
// document.getElementById('hdmi_audio').checked = false;
|
||||
});
|
||||
|
||||
// Function to download log files
|
||||
function saveOptions () {
|
||||
console.log('click');
|
||||
// Function to download log files
|
||||
function saveOptions () {
|
||||
var qnap_options = "";
|
||||
qnap_options += document.getElementById('smb_cifs').checked ? "smb_cifs;" : "" ;
|
||||
qnap_options += document.getElementById('usb_audio').checked ? "usb_audio;" : "" ;
|
||||
@@ -182,11 +177,9 @@ include_once("/home/httpd/cgi-bin/qpkg/RoonServer/__functions.php");
|
||||
url: strUrl,
|
||||
dataType: 'json',
|
||||
success: function (cb_data) {
|
||||
console.log('success function...');
|
||||
console.log('Debug Objects2: ' + cb_data.options );
|
||||
restartRoonServer();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user