|
|
@ -1,16 +1,12 @@
|
|
|
|
var _ = require('underscore');
|
|
|
|
var vent = require('../../../vent');
|
|
|
|
var vent = require('../../../vent');
|
|
|
|
|
|
|
|
var AppLayout = require('../../../AppLayout');
|
|
|
|
|
|
|
|
var Marionette = require('marionette');
|
|
|
|
var Marionette = require('marionette');
|
|
|
|
var DeleteView = require('../Delete/DownloadClientDeleteView');
|
|
|
|
var DeleteView = require('../Delete/DownloadClientDeleteView');
|
|
|
|
var CommandController = require('../../../Commands/CommandController');
|
|
|
|
|
|
|
|
var AsModelBoundView = require('../../../Mixins/AsModelBoundView');
|
|
|
|
var AsModelBoundView = require('../../../Mixins/AsModelBoundView');
|
|
|
|
var AsValidatedView = require('../../../Mixins/AsValidatedView');
|
|
|
|
var AsValidatedView = require('../../../Mixins/AsValidatedView');
|
|
|
|
var AsEditModalView = require('../../../Mixins/AsEditModalView');
|
|
|
|
var AsEditModalView = require('../../../Mixins/AsEditModalView');
|
|
|
|
require('../../../Form/FormBuilder');
|
|
|
|
require('../../../Form/FormBuilder');
|
|
|
|
require('../../../Mixins/FileBrowser');
|
|
|
|
require('../../../Mixins/FileBrowser');
|
|
|
|
require('bootstrap');
|
|
|
|
require('bootstrap');
|
|
|
|
require('../Add/DownloadClientSchemaModal');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = (function(){
|
|
|
|
module.exports = (function(){
|
|
|
|
var view = Marionette.ItemView.extend({
|
|
|
|
var view = Marionette.ItemView.extend({
|
|
|
@ -19,7 +15,9 @@ module.exports = (function(){
|
|
|
|
path : '.x-path',
|
|
|
|
path : '.x-path',
|
|
|
|
modalBody : '.modal-body'
|
|
|
|
modalBody : '.modal-body'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
events : {"click .x-back" : '_back'},
|
|
|
|
events : {
|
|
|
|
|
|
|
|
'click .x-back' : '_back'
|
|
|
|
|
|
|
|
},
|
|
|
|
_deleteView : DeleteView,
|
|
|
|
_deleteView : DeleteView,
|
|
|
|
initialize : function(options){
|
|
|
|
initialize : function(options){
|
|
|
|
this.targetCollection = options.targetCollection;
|
|
|
|
this.targetCollection = options.targetCollection;
|
|
|
|