You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
547 B
27 lines
547 B
'use strict';
|
|
|
|
define([
|
|
'app',
|
|
'marionette',
|
|
'Mixins/AsModelBoundView'
|
|
], function (App, Marionette, AsModelBoundView) {
|
|
|
|
var view = Marionette.ItemView.extend({
|
|
template: 'Settings/Indexers/EditTemplate',
|
|
|
|
events: {
|
|
'click .x-save': 'save'
|
|
},
|
|
|
|
initialize: function (options) {
|
|
this.indexerCollection = options.indexerCollection;
|
|
},
|
|
|
|
save: function () {
|
|
this.model.saveSettings();
|
|
}
|
|
});
|
|
|
|
return AsModelBoundView.call(view);
|
|
});
|