mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Settings save when changed only
This commit is contained in:
parent
8b8ee912c0
commit
bddbc7a0cf
7 changed files with 39 additions and 34 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue