Show More
@@ -15,25 +15,25 b' define(["notebook/js/widget"], function(){' | |||
|
15 | 15 | .addClass('widget-hlabel') |
|
16 | 16 | .hide(); |
|
17 | 17 | this.$buttongroup = $('<div />') |
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
18 | .addClass('widget_item') | |
|
19 | .addClass('btn-group') | |
|
20 | .appendTo(this.$el); | |
|
21 | 21 | this.$el_to_style = this.$buttongroup; // Set default element to style |
|
22 | 22 | this.$droplabel = $('<button />') |
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
23 | .addClass('btn') | |
|
24 | .addClass('widget-combo-btn') | |
|
25 | .html(' ') | |
|
26 | .appendTo(this.$buttongroup); | |
|
27 | 27 | this.$dropbutton = $('<button />') |
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
28 | .addClass('btn') | |
|
29 | .addClass('dropdown-toggle') | |
|
30 | .addClass('widget-combo-carrot-btn') | |
|
31 | .attr('data-toggle', 'dropdown') | |
|
32 | .html('<span class="caret"></span>') | |
|
33 | .appendTo(this.$buttongroup); | |
|
34 | 34 | this.$droplist = $('<ul />') |
|
35 |
|
|
|
36 |
|
|
|
35 | .addClass('dropdown-menu') | |
|
36 | .appendTo(this.$buttongroup); | |
|
37 | 37 | |
|
38 | 38 | // Set defaults. |
|
39 | 39 | this.update(); |
General Comments 0
You need to be logged in to leave comments.
Login now