From 5cac3fceae492851cd15b2a85948b100a9b01646 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Thu, 17 Oct 2013 19:50:07 +0000 Subject: [PATCH] Fixed glitch when widgetarea wouldn't get completely hidden upon re-execution --- IPython/html/static/notebook/js/codecell.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index 64f9011fb..9dae9edd4 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -304,9 +304,13 @@ var IPython = (function (IPython) { */ CodeCell.prototype.execute = function () { this.output_area.clear_output(); + + // Clear widget area this.widget_subarea.html(''); this.widget_subarea.height(''); this.widget_area.height(''); + this.widget_area.hide(); + this.set_input_prompt('*'); this.element.addClass("running"); if (this.last_msg_id) {