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/9160343a51632e4aa1356a26bb57faed8d84ba44/UI/Mixins/SaveIfChangedModel.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/UI/Mixins/SaveIfChangedModel.js

29 lines
673 B

"use strict";
(function () {
NzbDrone.Mixins.SaveIfChangedModel = {
// originalInitialize: this.initialize,
initialize: function () {
this.isSaved = true;
this.on('change', function () {
this.isSaved = false;
}, this);
this.on('sync', function () {
this.isSaved = true;
}, this);
// if (originalInitialize) {
// originalInitialize.call(this);
// }
},
saveIfChanged: function (options) {
if (!this.isSaved) {
this.save(undefined, options);
}
}
};
}());