mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
almost all js files are loaded using require.js
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
(function () {
|
||||
define(['app'], function () {
|
||||
|
||||
NzbDrone.Mixins.SaveIfChangedModel = {
|
||||
// originalInitialize: this.initialize,
|
||||
// originalInitialize: this.initialize,
|
||||
|
||||
initialize: function () {
|
||||
this.isSaved = true;
|
||||
@@ -15,9 +15,9 @@
|
||||
this.isSaved = true;
|
||||
}, this);
|
||||
|
||||
// if (originalInitialize) {
|
||||
// originalInitialize.call(this);
|
||||
// }
|
||||
// if (originalInitialize) {
|
||||
// originalInitialize.call(this);
|
||||
// }
|
||||
},
|
||||
|
||||
saveIfChanged: function (options) {
|
||||
@@ -26,4 +26,6 @@
|
||||
}
|
||||
}
|
||||
};
|
||||
}());
|
||||
|
||||
return NzbDrone.Missing.SaveIfChangedModel;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user