mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
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:
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…
Reference in New Issue
Block a user