Show More
@@ -105,9 +105,11 define([ | |||||
105 | var parent = utils.url_path_split(that.notebook.notebook_path)[0]; |
|
105 | var parent = utils.url_path_split(that.notebook.notebook_path)[0]; | |
106 | that.contents.new_untitled(parent, {type: "notebook"}).then( |
|
106 | that.contents.new_untitled(parent, {type: "notebook"}).then( | |
107 | function (data) { |
|
107 | function (data) { | |
108 |
|
|
108 | var url = utils.url_join_encode( | |
109 |
|
|
109 | that.base_url, 'notebooks', data.path | |
110 |
|
|
110 | ); | |
|
111 | url += "?kernel_name=" + that.notebook.kernel.name; | |||
|
112 | w.location = url; | |||
111 | }, |
|
113 | }, | |
112 | function(error) { |
|
114 | function(error) { | |
113 | w.close(); |
|
115 | w.close(); |
General Comments 0
You need to be logged in to leave comments.
Login now