mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
Settings save when changed only
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
"use strict";
|
||||
define(['app'], function () {
|
||||
define(['app',
|
||||
'Mixins/SaveIfChangedModel'], function () {
|
||||
NzbDrone.Settings.SettingsModel = Backbone.Model.extend({
|
||||
url: NzbDrone.Constants.ApiRoot + '/settings'
|
||||
});
|
||||
|
||||
_.extend(NzbDrone.Settings.SettingsModel.prototype, NzbDrone.Mixins.SaveIfChangedModel);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user