From 957b750d6ae46c7676d3b3a03927d65dfb92b198 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 24 Apr 2012 16:49:14 -0400 Subject: [PATCH] CC-3711: Verify Propel hasn't broken anything with its different handling of boolean columns compared to Pear - fixed --- airtime_mvc/public/js/airtime/dashboard/playlist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/public/js/airtime/dashboard/playlist.js b/airtime_mvc/public/js/airtime/dashboard/playlist.js index 077d9b780..c3b796da8 100644 --- a/airtime_mvc/public/js/airtime/dashboard/playlist.js +++ b/airtime_mvc/public/js/airtime/dashboard/playlist.js @@ -85,8 +85,8 @@ function updateProgressBarValue(){ if (songPercentDone < 0 || songPercentDone > 100){ songPercentDone = 0; currentSong = null; - } else { - if (currentSong.media_item_played == "t" && currentShow.length > 0){ + } else { + if (currentSong.media_item_played == true && currentShow.length > 0){ scheduled_play_line_to_switch.attr("class", "line-to-switch on"); scheduled_play_div.addClass("ready") scheduled_play_source = true;