1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-19 21:46:50 -04:00
New: Ability to tag series
New: Use tags to control which series use which notification channels
This commit is contained in:
Mark McDowall
2014-09-09 17:02:55 -07:00
parent 0e436f371b
commit e82b29e346
29 changed files with 1116 additions and 14 deletions
@@ -10,7 +10,8 @@ define([
'Mixins/AsModelBoundView',
'Mixins/AsValidatedView',
'Mixins/AsEditModalView',
'Form/FormBuilder'
'Form/FormBuilder',
'Mixins/TagInput'
], function (_, vent, AppLayout, Marionette, DeleteView, CommandController, AsModelBoundView, AsValidatedView, AsEditModalView) {
var view = Marionette.ItemView.extend({
@@ -18,7 +19,8 @@ define([
ui: {
onDownloadToggle : '.x-on-download',
onUpgradeSection : '.x-on-upgrade'
onUpgradeSection : '.x-on-upgrade',
tags : '.x-tags'
},
events: {
@@ -34,6 +36,11 @@ define([
onRender: function () {
this._onDownloadChanged();
this.ui.tags.tagInput({
model : this.model,
property : 'tags'
});
},
_onAfterSave: function () {