Cancelled show still appears on Dashboard
This commit is contained in:
Martin Konecny 2013-06-10 15:55:57 -04:00
parent af595e0c8a
commit deecc9db7b
1 changed files with 3 additions and 0 deletions

View File

@ -260,10 +260,13 @@ function parseItems(obj){
calculateTimeToNextSong(); calculateTimeToNextSong();
} }
currentShow = new Array();
if (obj.currentShow.length > 0) { if (obj.currentShow.length > 0) {
calcAdditionalShowData(obj.currentShow); calcAdditionalShowData(obj.currentShow);
currentShow = obj.currentShow; currentShow = obj.currentShow;
} }
nextShow = new Array();
if (obj.nextShow.length > 0) { if (obj.nextShow.length > 0) {
calcAdditionalShowData(obj.nextShow); calcAdditionalShowData(obj.nextShow);
nextShow = obj.nextShow; nextShow = obj.nextShow;