mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -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
|
@ -6,18 +6,10 @@ define(['app', 'Quality/QualityProfileModel'], function () {
|
|||
tagName : 'div',
|
||||
className: "modal",
|
||||
|
||||
ui: {
|
||||
bsSwitch: '.switch'
|
||||
},
|
||||
|
||||
events: {
|
||||
'click .x-save': 'saveQualityProfile'
|
||||
},
|
||||
|
||||
onRender: function () {
|
||||
this.ui.bsSwitch.bootstrapSwitch();
|
||||
},
|
||||
|
||||
saveQualityProfile: function () {
|
||||
//Todo: Make sure model is updated with Allowed, Cutoff, Name
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue