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/529f65339fae34135edb5957c5974de953fbefec/UI/AddSeries/Existing/UnmappedFolderCollection.js
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
'use strict';
|
|
|
|
|
define(
|
|
|
|
|
[
|
|
|
|
|
'backbone',
|
|
|
|
|
'AddSeries/Existing/UnmappedFolderModel'
|
|
|
|
|
], function (Backbone, UnmappedFolderModel) {
|
|
|
|
|
return Backbone.Collection.extend({
|
|
|
|
|
model: UnmappedFolderModel,
|
|
|
|
|
|
|
|
|
|
importItems: function (rootFolderModel) {
|
|
|
|
|
|
|
|
|
|
this.reset();
|
|
|
|
|
var rootFolder = rootFolderModel;
|
|
|
|
|
|
|
|
|
|
_.each(rootFolderModel.get('unmappedFolders'), function (folder) {
|
|
|
|
|
this.push(new UnmappedFolderModel({
|
|
|
|
|
rootFolder: rootFolder,
|
|
|
|
|
folder : folder
|
|
|
|
|
}));
|
|
|
|
|
}, this);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|