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