Fixed UI for downloadAllowed

This commit is contained in:
Mark McDowall 2013-09-21 00:45:45 -07:00
parent c5908c52a5
commit a5528f00cb
3 changed files with 14 additions and 0 deletions

View file

@ -14,6 +14,11 @@ define(
_onClick: function () {
if (!this.model.get('downloadAllowed'))
{
return;
}
var self = this;
this.$el.html('<i class="icon-spinner icon-spin" />');
@ -36,6 +41,10 @@ define(
this.$el.html('<i class="icon-download-alt" title="Add to download queue" />');
}
else {
this.className = 'no-download-report-cell';
}
return this;
}
});