Show More
@@ -416,7 +416,7 define([ | |||||
416 | return; |
|
416 | return; | |
417 | } |
|
417 | } | |
418 |
|
418 | |||
419 | this.active_output_area.clear_output(); |
|
419 | this.active_output_area.clear_output(false, true); | |
420 |
|
420 | |||
421 | // Clear widget area |
|
421 | // Clear widget area | |
422 | for (var i = 0; i < this.widget_views.length; i++) { |
|
422 | for (var i = 0; i < this.widget_views.length; i++) { |
@@ -850,7 +850,7 define([ | |||||
850 | }; |
|
850 | }; | |
851 |
|
851 | |||
852 |
|
852 | |||
853 | OutputArea.prototype.clear_output = function(wait) { |
|
853 | OutputArea.prototype.clear_output = function(wait, ignore_que) { | |
854 | if (wait) { |
|
854 | if (wait) { | |
855 |
|
855 | |||
856 | // If a clear is queued, clear before adding another to the queue. |
|
856 | // If a clear is queued, clear before adding another to the queue. | |
@@ -863,7 +863,7 define([ | |||||
863 |
|
863 | |||
864 | // Fix the output div's height if the clear_output is waiting for |
|
864 | // Fix the output div's height if the clear_output is waiting for | |
865 | // new output (it is being used in an animation). |
|
865 | // new output (it is being used in an animation). | |
866 | if (this.clear_queued) { |
|
866 | if (!ignore_que && this.clear_queued) { | |
867 | var height = this.element.height(); |
|
867 | var height = this.element.height(); | |
868 | this.element.height(height); |
|
868 | this.element.height(height); | |
869 | this.clear_queued = false; |
|
869 | this.clear_queued = false; |
General Comments 0
You need to be logged in to leave comments.
Login now