Show More
@@ -50,16 +50,16 b' var IPython = (function (IPython) {' | |||
|
50 | 50 | // "my_button_group_id" |
|
51 | 51 | // ) |
|
52 | 52 | // |
|
53 | ToolBar.prototype.add_button_group = function(list, group_id){ | |
|
53 | ToolBar.prototype.add_button_group = function (list, group_id) { | |
|
54 | 54 | var span_group = $('<span/>'); |
|
55 | 55 | if( group_id != undefined ) { |
|
56 | 56 | span_group.attr('id',group_id); |
|
57 | 57 | } |
|
58 | 58 | for(var el in list) { |
|
59 | 59 | var button = $('<button/>').button({ |
|
60 | icons : {primary: list[el].icon}, | |
|
61 | text : false, | |
|
62 | label: list[el].label | |
|
60 | icons : {primary : list[el].icon}, | |
|
61 | text : false, | |
|
62 | label : list[el].label | |
|
63 | 63 | }); |
|
64 | 64 | var id = list[el].id; |
|
65 | 65 | if( id != undefined ) |
General Comments 0
You need to be logged in to leave comments.
Login now