CC-6135 - fix playlist bugs

This commit is contained in:
Duncan Sommerville 2015-09-04 16:11:41 -04:00
parent ba26adc904
commit 3dc8a5f98d
2 changed files with 10 additions and 3 deletions

View file

@ -226,10 +226,11 @@ var AIRTIME = (function(AIRTIME) {
cItem,
$trs;
$.fn.reverse = [].reverse;
//$.fn.reverse = [].reverse;
//$trs = $libTable.find("tr").reverse();
// Get visible items and check if any chosenItems are visible
$trs = $libTable.find("tr").reverse();
$trs = $libTable.find("tr");
$trs.each(function(i){
for (cItem in chosenItems) {
if (cItem === $(this).attr("id")) {