##// END OF EJS Templates
Widget bootstrap3 fixes
Jonathan Frederic -
Show More
@@ -164,7 +164,7 b' define(["widgets/js/widget"], function(WidgetManager){'
164 .addClass('widget-hlabel')
164 .addClass('widget-hlabel')
165 .hide();
165 .hide();
166 this.$textbox = $('<input type="text" />')
166 this.$textbox = $('<input type="text" />')
167 .addClass('input')
167 .addClass('form-control')
168 .addClass('widget-numeric-text')
168 .addClass('widget-numeric-text')
169 .appendTo(this.$el);
169 .appendTo(this.$el);
170 this.$el_to_style = this.$textbox; // Set default element to style
170 this.$el_to_style = this.$textbox; // Set default element to style
@@ -310,7 +310,7 b' define(["widgets/js/widget"], function(WidgetManager){'
310 .addClass('widget-hlabel')
310 .addClass('widget-hlabel')
311 .hide();
311 .hide();
312 this.$listbox = $('<select />')
312 this.$listbox = $('<select />')
313 .addClass('widget-listbox')
313 .addClass('widget-listbox form-control')
314 .attr('size', 6)
314 .attr('size', 6)
315 .appendTo(this.$el);
315 .appendTo(this.$el);
316 this.$el_to_style = this.$listbox; // Set default element to style
316 this.$el_to_style = this.$listbox; // Set default element to style
@@ -65,7 +65,7 b' define(["widgets/js/widget"], function(WidgetManager){'
65 .hide();
65 .hide();
66 this.$textbox = $('<textarea />')
66 this.$textbox = $('<textarea />')
67 .attr('rows', 5)
67 .attr('rows', 5)
68 .addClass('widget-text')
68 .addClass('widget-text form-control')
69 .appendTo(this.$el);
69 .appendTo(this.$el);
70 this.$el_to_style = this.$textbox; // Set default element to style
70 this.$el_to_style = this.$textbox; // Set default element to style
71 this.update(); // Set defaults.
71 this.update(); // Set defaults.
@@ -150,7 +150,7 b' define(["widgets/js/widget"], function(WidgetManager){'
150 .hide();
150 .hide();
151 this.$textbox = $('<input type="text" />')
151 this.$textbox = $('<input type="text" />')
152 .addClass('input')
152 .addClass('input')
153 .addClass('widget-text')
153 .addClass('widget-text form-control')
154 .appendTo(this.$el);
154 .appendTo(this.$el);
155 this.$el_to_style = this.$textbox; // Set default element to style
155 this.$el_to_style = this.$textbox; // Set default element to style
156 this.update(); // Set defaults.
156 this.update(); // Set defaults.
General Comments 0
You need to be logged in to leave comments. Login now