Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/blame/commit/9d96df9c2efe0924e6957bfd41d959d9acddb86e/UI/Series/Delete/DeleteSeriesView.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/UI/Series/Delete/DeleteSeriesView.js

33 lines
807 B

'use strict';
define(['app', 'Series/SeriesModel'], function () {
NzbDrone.Series.Delete.DeleteSeriesView = Backbone.Marionette.ItemView.extend({
template : 'Series/Delete/DeleteSeriesTemplate',
tagName : 'div',
className: "modal",
events: {
'click .x-confirm-delete': 'removeSeries'
},
ui: {
deleteFiles: '.x-delete-files'
},
removeSeries: function () {
var deleteFiles = this.ui.deleteFiles.prop('checked');
this.model.destroy({
data : { 'deleteFiles': deleteFiles },
success: function (model) {
model.collection.remove(model);
}
});
NzbDrone.modalRegion.close();
}
});
});