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