mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 23:42:33 +01:00
Notification and Indexer settings are enabled by default on add
NzbClub and omgwtfnzbs are off by default
This commit is contained in:
parent
eaa7b39025
commit
e1272b4f34
@ -22,7 +22,6 @@ define(['app',
|
||||
collectionView.ui.addCard.parent('li').before(itemView.el);
|
||||
},
|
||||
|
||||
|
||||
_openSchemaModal: function () {
|
||||
var self = this;
|
||||
//TODO: Is there a better way to deal with changing URLs?
|
||||
@ -32,8 +31,12 @@ define(['app',
|
||||
success: function (collection) {
|
||||
collection.url = '/api/indexer';
|
||||
var model = _.first(collection.models);
|
||||
model.set('id', undefined);
|
||||
model.set('name', '');
|
||||
|
||||
model.set({
|
||||
id: undefined,
|
||||
name: '',
|
||||
enable: true
|
||||
});
|
||||
|
||||
var view = new IndexerEditView({ model: model, indexerCollection: self.collection});
|
||||
App.modalRegion.show(view);
|
||||
|
@ -25,7 +25,9 @@ define([
|
||||
|
||||
this.model.set({
|
||||
id: undefined,
|
||||
name: this.model.get('implementationName')
|
||||
name: this.model.get('implementationName'),
|
||||
onGrab: true,
|
||||
onDownload: true
|
||||
});
|
||||
|
||||
var editView = new EditView({ model: this.model, notificationCollection: this.notificationCollection });
|
||||
|
Loading…
Reference in New Issue
Block a user