More errorbar fixes..

This commit is contained in:
Kasper Rynning-Tønnesen
2015-02-16 09:08:24 +01:00
parent 6ffc69a221
commit b9188bd7a9

View File

@@ -77,10 +77,10 @@ function shuffle(form)
$("#sBar").addClass("opacityFull"); $("#sBar").addClass("opacityFull");
updateList(); updateList();
}else if(confRes = "wrong!"){ }else if(confRes = "wrong!"){
document.getElementById("sBar").innerHTML = "Error: Wrong Admin Password!"; document.getElementById("eBar").innerHTML = "Error: Wrong Admin Password!";
$("#eBar").addClass("opacityFull"); $("#eBar").addClass("opacityFull");
}else if(confRes = "size"){ }else if(confRes = "size"){
document.getElementById("sBar").innerHTML = "Error: Empty Playlist!"; document.getElementById("eBar").innerHTML = "Error: Empty Playlist!";
$("#eBar").addClass("opacityFull"); $("#eBar").addClass("opacityFull");
} }
setTimeout(function(){ setTimeout(function(){