Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/blame/commit/873134fceed61ee51853466fca129f194ce28015/UI/Release/DownloadReportCell.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Prowlarr/UI/Release/DownloadReportCell.js

39 lines
962 B

'use strict';
define(
[
'backgrid'
], function (Backgrid) {
return Backgrid.Cell.extend({
className: 'download-report-cell',
events: {
'click': '_onClick'
},
_onClick: function () {
var self = this;
this.$el.html('<i class="icon-spinner icon-spin" />');
var promise = this.model.save();
promise.done(function () {
self.$el.html('<i class="icon-ok" title="Added to downloaded queue" />');
});
promise.fail(function () {
self.$el.html('<i class="icon-download-alt" title="Add to download queue" />');
});
},
render: function () {
this.$el.html('<i class="icon-download-alt" title="Add to download queue" />');
return this;
}
});
});