1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-10 04:52:42 +01:00
Radarr/UI/Settings/Notifications/AddView.js

24 lines
622 B
JavaScript
Raw Normal View History

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