diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index d4a9e22..0e0d9f8 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -101,7 +101,7 @@ define([ this.last_msg_id = null; this.completer = null; - + this.widget_views = []; var config = utils.mergeopt(CodeCell, this.config); Cell.apply(this,[{ @@ -191,12 +191,19 @@ define([ .addClass('widget-subarea') .appendTo(widget_area); this.widget_subarea = widget_subarea; + var that = this; var widget_clear_buton = $('