1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/UI/Settings/Notifications/AddView.js

24 lines
622 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,
itemViewContainer: '.notifications .items',
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
});
});