|
|
@ -1,7 +1,7 @@ |
|
|
|
function changeServices(e) { |
|
|
|
function changeServices(e) { |
|
|
|
e.preventDefault(); |
|
|
|
e.preventDefault(); |
|
|
|
var url = "services/update?1=1"; |
|
|
|
var url = "services/update?1=1"; |
|
|
|
var i, inputs = document.querySelectorAll("#" + e.srcElement.id + " input,select"); |
|
|
|
var i, inputs = document.querySelectorAll("#" + e.target.id + " input,select"); |
|
|
|
for (i = 0; i < inputs.length; i++) { |
|
|
|
for (i = 0; i < inputs.length; i++) { |
|
|
|
if (inputs[i].type == "checkbox") { |
|
|
|
if (inputs[i].type == "checkbox") { |
|
|
|
if (inputs[i].name.slice(-6) == "enable") |
|
|
|
if (inputs[i].name.slice(-6) == "enable") |
|
|
|