mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed webpack issues adding indexers/download clients/notifications
This commit is contained in:
parent
e6566b26d8
commit
ed4bf349db
@ -224,7 +224,7 @@ define(
|
||||
SeriesCollection.add(self.model);
|
||||
|
||||
self.close();
|
||||
|
||||
|
||||
Messenger.show({
|
||||
message: 'Added: ' + self.model.get('title'),
|
||||
actions : {
|
||||
|
@ -1,16 +1,12 @@
|
||||
var _ = require('underscore');
|
||||
var vent = require('../../../vent');
|
||||
var AppLayout = require('../../../AppLayout');
|
||||
var vent = require('../../../vent');
|
||||
var Marionette = require('marionette');
|
||||
var DeleteView = require('../Delete/DownloadClientDeleteView');
|
||||
var CommandController = require('../../../Commands/CommandController');
|
||||
var AsModelBoundView = require('../../../Mixins/AsModelBoundView');
|
||||
var AsValidatedView = require('../../../Mixins/AsValidatedView');
|
||||
var AsEditModalView = require('../../../Mixins/AsEditModalView');
|
||||
require('../../../Form/FormBuilder');
|
||||
require('../../../Mixins/FileBrowser');
|
||||
require('bootstrap');
|
||||
require('../Add/DownloadClientSchemaModal');
|
||||
|
||||
module.exports = (function(){
|
||||
var view = Marionette.ItemView.extend({
|
||||
@ -19,7 +15,9 @@ module.exports = (function(){
|
||||
path : '.x-path',
|
||||
modalBody : '.modal-body'
|
||||
},
|
||||
events : {"click .x-back" : '_back'},
|
||||
events : {
|
||||
'click .x-back' : '_back'
|
||||
},
|
||||
_deleteView : DeleteView,
|
||||
initialize : function(options){
|
||||
this.targetCollection = options.targetCollection;
|
||||
|
@ -1,4 +1,4 @@
|
||||
var _ = require('underscore');
|
||||
var _ = require('underscore');
|
||||
var $ = require('jquery');
|
||||
var AppLayout = require('../../../AppLayout');
|
||||
var Marionette = require('marionette');
|
||||
@ -8,9 +8,10 @@ module.exports = Marionette.ItemView.extend({
|
||||
template : 'Settings/Indexers/Add/IndexerAddItemViewTemplate',
|
||||
tagName : 'li',
|
||||
className : 'add-thingy-item',
|
||||
|
||||
events : {
|
||||
"click .x-preset" : '_addPreset',
|
||||
"click" : '_add'
|
||||
'click .x-preset' : '_addPreset',
|
||||
'click' : '_add'
|
||||
},
|
||||
initialize : function(options){
|
||||
this.targetCollection = options.targetCollection;
|
||||
@ -33,6 +34,7 @@ module.exports = Marionette.ItemView.extend({
|
||||
enableRss : this.model.get('supportsRss'),
|
||||
enableSearch : this.model.get('supportsSearch')
|
||||
});
|
||||
|
||||
var editView = new EditView({
|
||||
model : this.model,
|
||||
targetCollection : this.targetCollection
|
||||
|
@ -1,20 +1,19 @@
|
||||
var vent = require('../../../vent');
|
||||
var AppLayout = require('../../../AppLayout');
|
||||
var vent = require('../../../vent');
|
||||
var Marionette = require('marionette');
|
||||
var DeleteView = require('../Delete/IndexerDeleteView');
|
||||
var CommandController = require('../../../Commands/CommandController');
|
||||
var AsModelBoundView = require('../../../Mixins/AsModelBoundView');
|
||||
var AsValidatedView = require('../../../Mixins/AsValidatedView');
|
||||
var AsEditModalView = require('../../../Mixins/AsEditModalView');
|
||||
require('../../../Form/FormBuilder');
|
||||
require('../../../Mixins/AutoComplete');
|
||||
require('bootstrap');
|
||||
require('../Add/IndexerSchemaModal');
|
||||
|
||||
module.exports = (function(){
|
||||
var view = Marionette.ItemView.extend({
|
||||
template : 'Settings/Indexers/Edit/IndexerEditViewTemplate',
|
||||
events : {"click .x-back" : '_back'},
|
||||
events : {
|
||||
'click .x-back' : '_back'
|
||||
},
|
||||
_deleteView : DeleteView,
|
||||
initialize : function(options){
|
||||
this.targetCollection = options.targetCollection;
|
||||
|
@ -1,15 +1,11 @@
|
||||
var _ = require('underscore');
|
||||
var vent = require('../../../vent');
|
||||
var AppLayout = require('../../../AppLayout');
|
||||
var vent = require('../../../vent');
|
||||
var Marionette = require('marionette');
|
||||
var DeleteView = require('../Delete/NotificationDeleteView');
|
||||
var CommandController = require('../../../Commands/CommandController');
|
||||
var AsModelBoundView = require('../../../Mixins/AsModelBoundView');
|
||||
var AsValidatedView = require('../../../Mixins/AsValidatedView');
|
||||
var AsEditModalView = require('../../../Mixins/AsEditModalView');
|
||||
require('../../../Form/FormBuilder');
|
||||
require('../../../Mixins/TagInput');
|
||||
require('../Add/NotificationSchemaModal');
|
||||
|
||||
module.exports = (function(){
|
||||
var view = Marionette.ItemView.extend({
|
||||
@ -20,8 +16,8 @@ module.exports = (function(){
|
||||
tags : '.x-tags'
|
||||
},
|
||||
events : {
|
||||
"click .x-back" : '_back',
|
||||
"change .x-on-download" : '_onDownloadChanged'
|
||||
'click .x-back' : '_back',
|
||||
'change .x-on-download' : '_onDownloadChanged'
|
||||
},
|
||||
_deleteView : DeleteView,
|
||||
initialize : function(options){
|
||||
|
Loading…
Reference in New Issue
Block a user