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/c5908c52a56d8b79cb8ea2961680f134c2c2503d/UI/AddSeries/SearchResultCollectionView.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Prowlarr/UI/AddSeries/SearchResultCollectionView.js

37 lines
947 B

12 years ago
'use strict';
define(
[
'marionette',
'AddSeries/SearchResultView',
], function (Marionette, SearchResultView) {
12 years ago
return Marionette.CollectionView.extend({
itemView: SearchResultView,
initialize: function (options) {
this.isExisting = options.isExisting;
this.showing = 1;
},
showAll: function () {
this.showingAll = true;
this.render();
},
showMore: function () {
this.showing += 5;
this.render();
return this.showing >= this.collection.length;
},
appendHtml: function (collectionView, itemView, index) {
if (!this.isExisting || index < this.showing || index === 0) {
collectionView.$el.append(itemView.el);
}
12 years ago
}
});
});