##// END OF EJS Templates
Make : invalid in filenames in the Notebook JS code.
Brian Granger -
Show More
@@ -28,7 +28,7 var IPython = (function (IPython) {
28 28 this.control_key_active = false;
29 29 this.notebook_id = null;
30 30 this.notebook_name = null;
31 this.notebook_name_blacklist_re = /[\/\\]/;
31 this.notebook_name_blacklist_re = /[\/\\:]/;
32 32 this.nbformat = 3 // Increment this when changing the nbformat
33 33 this.style();
34 34 this.create_elements();
@@ -83,7 +83,7 var IPython = (function (IPython) {
83 83 $(this).find('h3').html(
84 84 "Invalid notebook name. Notebook names must "+
85 85 "have 1 or more characters and can contain any characters " +
86 "except / and \\. Please enter a new notebook name:"
86 "except :/\\. Please enter a new notebook name:"
87 87 );
88 88 } else {
89 89 IPython.notebook.set_notebook_name(new_name);
General Comments 0
You need to be logged in to leave comments. Login now