mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
don't double-join the notebook path
This commit is contained in:
parent
a27168ae3b
commit
a2b9c75e93
@ -26,10 +26,9 @@ var IPython = (function (IPython) {
|
||||
var len = d.length;
|
||||
var item;
|
||||
for (var i=0; i < d.length; i++) {
|
||||
var path = utils.url_path_join(d[i].notebook.path, d[i].notebook.name);
|
||||
var name = d[i].name;
|
||||
var path= utils.url_path_join(d[i].notebook.path, d[i].notebook.name);
|
||||
item = this.new_notebook_item(i);
|
||||
this.add_link(path, path, item);
|
||||
this.add_link('', path, item);
|
||||
this.sessions[path] = d[i].id;
|
||||
this.add_shutdown_button(item,this.sessions[path]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user