Added so radiobuttons will be checked when in use

This commit is contained in:
kasperrt
2014-10-24 19:28:35 +02:00
parent 889c09c389
commit 63ec3370d7
3 changed files with 26 additions and 19 deletions

View File

@@ -14,14 +14,15 @@ function admin()
function submitAdmin(form)
{
voting = form.vote.checked,
addSongs = form.addSongs.checked,
longSongs = form.longSongs.checked,
frontpage = form.frontPage.checked,
allvideos = form.allvideos.checked,
removePlay = form.removePlay.checked,
voting = form.vote.value,
addSongs = form.addSongs.value,
longSongs = form.longSongs.value,
frontpage = form.frontPage.value,
allvideos = form.allvideos.value,
removePlay = form.removePlay.value,
adminpass = form.pass.value;
confRes = $.ajax({
type: "POST",
url: "php/change.php",