Fix rename notebook - show error with invalid name

Before the dialog was closing anyway so you couldn't see the error message.
This commit is contained in:
Rick Lupton 2013-07-19 10:59:14 +01:00
parent a7cf16ce98
commit 7b474e5ce6

View File

@ -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();