don't set bootstrap toggle on ToggleButtonsWidget

model update already toggles active and data-toggle does the same,
so clicking on a toggle toggles twice, setting it back to the original value.
Min RK 11 years ago
parent 0aedf1658f
commit a152a481d0

@ -287,7 +287,6 @@ define([
.hide();
this.$buttongroup = $('<div />')
.addClass('btn-group')
.attr('data-toggle', 'buttons-radio')
.appendTo(this.$el);
this.model.on('change:button_style', function(model, value) {

Loading…
Cancel
Save