Merge pull request #7481 from minrk/toggle-buttons-indicate

don't set bootstrap toggle on ToggleButtonsWidget
This commit is contained in:
Matthias Bussonnier 2015-01-25 20:20:53 +01:00
commit 1ce46a8723
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -7,7 +7,7 @@ casper.notebook_test(function () {
this.execute_cell_then(index); this.execute_cell_then(index);
var combo_selector = '.widget-area .widget-subarea .widget-hbox .btn-group .widget-combo-btn'; var combo_selector = '.widget-area .widget-subarea .widget-hbox .btn-group .widget-combo-btn';
var multibtn_selector = '.widget-area .widget-subarea .widget-hbox .btn-group[data-toggle="buttons-radio"]'; var multibtn_selector = '.widget-area .widget-subarea .widget-hbox.widget-toggle-buttons .btn-group';
var radio_selector = '.widget-area .widget-subarea .widget-hbox .widget-radio-box'; var radio_selector = '.widget-area .widget-subarea .widget-hbox .widget-radio-box';
var list_selector = '.widget-area .widget-subarea .widget-hbox .widget-listbox'; var list_selector = '.widget-area .widget-subarea .widget-hbox .widget-listbox';