"use strict"; define(['app'], function () { NzbDrone.Release.DownloadReportCell = Backgrid.Cell.extend({ className: "download-report-cell", events: { 'click': '_onClick' }, _onClick: function () { var self = this; this.$el.html(''); this.model.save() .always(function () { self.$el.html(''); }); }, render: function () { this.$el.html(''); return this; } }); return NzbDrone.Release.DownloadReportCell; });