From 7b474e5ce66d177007c61573d92ac03c120562d7 Mon Sep 17 00:00:00 2001 From: Rick Lupton Date: Fri, 19 Jul 2013 10:59:14 +0100 Subject: [PATCH] Fix rename notebook - show error with invalid name Before the dialog was closing anyway so you couldn't see the error message. --- IPython/html/static/notebook/js/savewidget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/IPython/html/static/notebook/js/savewidget.js b/IPython/html/static/notebook/js/savewidget.js index 8cf4ca938..e83399f4a 100644 --- a/IPython/html/static/notebook/js/savewidget.js +++ b/IPython/html/static/notebook/js/savewidget.js @@ -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();