Fixed: Getting tracked download status for pending item in UI won't result in an error

This commit is contained in:
Mark McDowall 2014-10-16 09:57:59 -07:00
parent f44fd5fcbd
commit 76f61e683f
1 changed files with 1 additions and 1 deletions

View File

@ -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');