fixed bootstrap switches. still need to listen to checkbox event.

This commit is contained in:
kay.one 2013-04-20 15:51:39 -07:00
parent d85b825e06
commit 27f45cfdee
7 changed files with 10 additions and 22 deletions

View file

@ -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