# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1210494110 25200
# Node ID 83531e2a029ec031c928a24e3e95ed556f846ec2
# Parent 3e870d7bb73320d61deea4fabe7419aedb048cfd
trac #2884 -- notebook -- bug; @interact cell eval doesn't clear out the old html output (easy to fix?)
diff -r 3e870d7bb733 -r 83531e2a029e sage/server/notebook/js.py
a
|
b
|
function interact(id, input) { |
3622 | 3622 | cell_has_changed = false; |
3623 | 3623 | current_cell = id; |
3624 | 3624 | |
| 3625 | // Delete the old images, etc., that might be sitting |
| 3626 | // in the output from the previos evaluation of this cell. |
| 3627 | get_element('cell_output_html_' + id).innerHTML = ""; |
| 3628 | |
3625 | 3629 | var cell_number = get_element('cell_number_' + id); |
3626 | 3630 | cell_number.className = 'cell_number_running'; |
3627 | 3631 | |