Show More
@@ -64,6 +64,14 b' IPython.dialog = (function (IPython) {' | |||
|
64 | 64 | dialog.remove(); |
|
65 | 65 | }); |
|
66 | 66 | } |
|
67 | if (options.reselect_cell !== false) { | |
|
68 | dialog.on("hidden", function () { | |
|
69 | if (IPython.notebook) { | |
|
70 | cell = IPython.notebook.get_selected_cell(); | |
|
71 | if (cell) cell.select(); | |
|
72 | } | |
|
73 | }); | |
|
74 | } | |
|
67 | 75 | |
|
68 | 76 | return dialog.modal(options); |
|
69 | 77 | } |
General Comments 0
You need to be logged in to leave comments.
Login now