1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-23 02:05:27 +02:00
Sonarr/UI/Settings/Notifications/AddView.js

24 lines
626 B
JavaScript
Raw Normal View History

2013-06-22 09:24:24 +03:00
'use strict';
2013-05-25 09:38:43 +03:00
define([
2013-06-19 04:02:23 +03:00
'marionette',
'Settings/Notifications/AddItemView'
], function (Marionette, AddItemView) {
return Marionette.CompositeView.extend({
itemView : AddItemView,
2013-06-26 03:34:33 +03:00
itemViewContainer: '.add-notifications .items',
2013-06-19 04:02:23 +03:00
template : 'Settings/Notifications/AddTemplate',
2013-05-29 05:49:17 +03:00
itemViewOptions: function () {
return {
notificationCollection: this.notificationCollection
};
},
initialize: function (options) {
this.notificationCollection = options.notificationCollection;
}
2013-05-25 09:38:43 +03:00
});
});