##// END OF EJS Templates
don't double-join the notebook path
Paul Ivanov -
Show More
@@ -27,9 +27,8 var IPython = (function (IPython) {
27 var item;
27 var item;
28 for (var i=0; i < d.length; i++) {
28 for (var i=0; i < d.length; i++) {
29 var path = utils.url_path_join(d[i].notebook.path, d[i].notebook.name);
29 var path= utils.url_path_join(d[i].notebook.path, d[i].notebook.name);
30 var name = d[i].name;
31 item = this.new_notebook_item(i);
30 item = this.new_notebook_item(i);
32 this.add_link(path, path, item);
31 this.add_link('', path, item);
33 this.sessions[path] = d[i].id;
32 this.sessions[path] = d[i].id;
34 this.add_shutdown_button(item,this.sessions[path]);
33 this.add_shutdown_button(item,this.sessions[path]);
35 }
34 }
General Comments 0
You need to be logged in to leave comments. Login now