From 6118cd63d7ce50c1009bd63da4046b679dafb816 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Mon, 17 Sep 2012 10:52:37 -0400 Subject: [PATCH] cc-4419: Added quick hack for now --- airtime_mvc/public/js/airtime/library/library.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/library/library.js b/airtime_mvc/public/js/airtime/library/library.js index fb25f8f08..ed3bd13c3 100644 --- a/airtime_mvc/public/js/airtime/library/library.js +++ b/airtime_mvc/public/js/airtime/library/library.js @@ -49,7 +49,10 @@ var AIRTIME = (function(AIRTIME) { var cItem, selected, $trs; - + + + // TODO : hack, get rid of this crap library + if (!$libTable) { return ; } // Get visible items and check if any chosenItems are visible $trs = $libTable.find("tbody input:checkbox").parents("tr"); $trs.each(function(i){