From 76f61e683f6164be48bd2b38d94297592edaf1bf Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 16 Oct 2014 09:57:59 -0700 Subject: [PATCH] Fixed: Getting tracked download status for pending item in UI won't result in an error --- src/UI/Activity/Queue/QueueStatusCell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Activity/Queue/QueueStatusCell.js b/src/UI/Activity/Queue/QueueStatusCell.js index 52e30b3dc..138089545 100644 --- a/src/UI/Activity/Queue/QueueStatusCell.js +++ b/src/UI/Activity/Queue/QueueStatusCell.js @@ -15,7 +15,7 @@ define( if (this.cellValue) { var status = this.cellValue.get('status').toLowerCase(); - var trackedDownloadStatus = this.cellValue.get('trackedDownloadStatus').toLowerCase(); + var trackedDownloadStatus = this.cellValue.has('trackedDownloadStatus') ? this.cellValue.get('trackedDownloadStatus').toLowerCase() : 'ok'; var icon = 'icon-nd-downloading'; var title = 'Downloading'; var itemTitle = this.cellValue.get('title');