Test for song import

This commit is contained in:
Nicolas A. Tonne
2015-04-30 16:47:52 +02:00
parent 3277569863
commit 8ee05b874f
4 changed files with 23 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ socket.on(chan.toLowerCase()+",np", function(obj)
if(obj[0].length == 0){
console.log("Empty list");
document.getElementById('song-title').innerHTML = "Empty channel. Add some songs!"
importOldList(chan.toLowerCase());
}
else{
console.log("gotten new song");