mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
fixed bootstrap switches. still need to listen to checkbox event.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user