From e0084c2c69d3b3ca8d82f6f51486df8379babfc9 2014-02-24 22:18:22 From: Paul Ivanov Date: 2014-02-24 22:18:22 Subject: [PATCH] don't double-join the notebook path --- diff --git a/IPython/html/static/tree/js/kernellist.js b/IPython/html/static/tree/js/kernellist.js index 70c2eae..7177d92 100644 --- a/IPython/html/static/tree/js/kernellist.js +++ b/IPython/html/static/tree/js/kernellist.js @@ -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]); }