Fix rename notebook - show error with invalid name

Before the dialog was closing anyway so you couldn't see the error message.
Rick Lupton 13 years ago
parent a7cf16ce98
commit 7b474e5ce6

@ -87,6 +87,7 @@ var IPython = (function (IPython) {
"have 1 or more characters and can contain any characters " +
"except :/\\. Please enter a new notebook name:"
);
return false;
} else {
IPython.notebook.set_notebook_name(new_name);
IPython.notebook.save_notebook();

Loading…
Cancel
Save