Removed some debugging loggings

This commit is contained in:
KasperRT
2014-10-22 22:27:36 +02:00
parent b893fdc6b9
commit cecf4ca66f

View File

@@ -16,20 +16,14 @@ function submitAdmin(form)
longSongs = form.longSongs.checked, longSongs = form.longSongs.checked,
frontpage = form.frontPage.checked, frontpage = form.frontPage.checked,
onlyMusic = form.onlyMusic.checked, onlyMusic = form.onlyMusic.checked,
removePlay = form.removePlay.checked; removePlay = form.removePlay.checked,
pass = form.pass.value;
console.log("Vote: "+vote);
console.log("Add Songs: "+addSongs);
console.log("Long Songs: "+longSongs);
console.log("Frontpage: "+frontpage);
console.log("Only music: "+onlyMusic);
console.log("Remove after play:"+removePlay);
conf = $.ajax({ conf = $.ajax({
type: "POST", type: "POST",
url: "php/change.php", url: "php/change.php",
async: false, async: false,
data: "conf=start&vote="+vote+"&addsongs="+addSongs+"&longsongs="+longSongs+"&frontpage="+frontpage+"&onlymusic="+onlyMusic+"&removeplay="+removePlay, data: "conf=start&vote="+vote+"&addsongs="+addSongs+"&longsongs="+longSongs+"&frontpage="+frontpage+"&onlymusic="+onlyMusic+"&removeplay="+removePlay+"&pass="+pass,
success: function() { success: function() {
console.log("configurations response: "+response); console.log("configurations response: "+response);