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

@ -10,12 +10,10 @@ define([
className: 'form-horizontal',
ui: {
bsSwitch : '.switch',
tooltip: '[class^="help-inline"] i'
},
onRender: function () {
this.ui.bsSwitch.bootstrapSwitch();
this.ui.tooltip.tooltip({ placement: 'right', html: true });
}
});