Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/3c2d1d470759102572c26f3b12f2299dcf761bc8/NzbDrone.Web/_backboneApp/Shared/AutoComplete.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/NzbDrone.Web/_backboneApp/Shared/AutoComplete.js

21 lines
556 B

define(['app'], function () {
$.fn.autoComplete = function (resource) {
$(this).typeahead({
source: function (filter, callback) {
$.ajax({
url: NzbDrone.Constants.ApiRoot + resource,
dataType: "json",
type: "GET",
data: { query: filter },
success: function (data) {
callback(data);
}
});
},
minLength: 3
});
};
});