1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-03-06 11:40:00 +00:00
Sonarr/UI/Settings/Notifications/AddView.js

24 lines
626 B
JavaScript
Raw Normal View History

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