1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-28 10:48:46 +00:00
Sonarr/UI/Settings/Indexers/EditView.js
kay.one 769331d45d updated jshint to 2.1.3
single quotes
2013-06-21 23:24:24 -07:00

26 lines
547 B
JavaScript

'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);
});