##// END OF EJS Templates
Merge pull request #5010 from jdfreder/widget-ff...
Thomas Kluyver -
r15020:12bac7bd merge
parent child Browse files
Show More
@@ -19,7 +19,8 b' define(["notebook/js/widgets/widget"], function(WidgetManager) {'
19 var ContainerView = IPython.DOMWidgetView.extend({
19 var ContainerView = IPython.DOMWidgetView.extend({
20 render: function(){
20 render: function(){
21 // Called when view is rendered.
21 // Called when view is rendered.
22 this.$el.addClass('widget-container');
22 this.$el.addClass('widget-container')
23 .addClass('vbox');
23 this.children={};
24 this.children={};
24 this.update_children([], this.model.get('_children'));
25 this.update_children([], this.model.get('_children'));
25 this.model.on('change:_children', function(model, value, options) {
26 this.model.on('change:_children', function(model, value, options) {
@@ -134,6 +135,7 b' define(["notebook/js/widgets/widget"], function(WidgetManager) {'
134 .addClass('modal-body')
135 .addClass('modal-body')
135 .addClass('widget-modal-body')
136 .addClass('widget-modal-body')
136 .addClass('widget-container')
137 .addClass('widget-container')
138 .addClass('vbox')
137 .appendTo(this.$window);
139 .appendTo(this.$window);
138
140
139 this.$show_button = $('<button />')
141 this.$show_button = $('<button />')
General Comments 0
You need to be logged in to leave comments. Login now