mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Removed some UI info from views. Added UI Config
This commit is contained in:
parent
7c1e81a70e
commit
5d7f6fb03b
16 changed files with 211 additions and 73 deletions
|
@ -4,7 +4,6 @@ define(['app', 'Shared/NotificationCollection', 'AddSeries/SearchResultCollectio
|
|||
NzbDrone.AddSeries.New.SearchItemView = Backbone.Marionette.ItemView.extend({
|
||||
|
||||
template : "AddSeries/SearchResultTemplate",
|
||||
className: 'search-item',
|
||||
|
||||
ui: {
|
||||
qualityProfile: '.x-quality-profile',
|
||||
|
@ -13,14 +12,14 @@ define(['app', 'Shared/NotificationCollection', 'AddSeries/SearchResultCollectio
|
|||
},
|
||||
|
||||
events: {
|
||||
'click .x-add': 'add'
|
||||
'click .x-add': 'addSeries'
|
||||
},
|
||||
|
||||
onRender: function () {
|
||||
this.listenTo(this.model, 'change', this.render);
|
||||
},
|
||||
|
||||
add: function () {
|
||||
addSeries: function () {
|
||||
|
||||
var quality = this.ui.qualityProfile.val();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue