mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
fixed bootstrap switches. still need to listen to checkbox event.
This commit is contained in:
parent
d85b825e06
commit
27f45cfdee
7 changed files with 10 additions and 22 deletions
|
@ -9,8 +9,7 @@ define(['app', 'Series/SeriesModel', 'Series/Delete/DeleteSeriesView', 'Quality/
|
|||
ui: {
|
||||
progressbar : '.progress .bar',
|
||||
qualityProfile : '.x-quality-profile',
|
||||
backlogSettings: '.x-backlog-setting',
|
||||
bsSwitch : '.switch'
|
||||
backlogSettings: '.x-backlog-setting'
|
||||
},
|
||||
|
||||
events: {
|
||||
|
@ -18,10 +17,6 @@ define(['app', 'Series/SeriesModel', 'Series/Delete/DeleteSeriesView', 'Quality/
|
|||
'click .x-remove': 'removeSeries'
|
||||
},
|
||||
|
||||
onRender: function () {
|
||||
this.ui.bsSwitch.bootstrapSwitch();
|
||||
},
|
||||
|
||||
|
||||
saveSeries: function () {
|
||||
//Todo: Get qualityProfile + backlog setting from UI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue