##// END OF EJS Templates
mixup notebook_list
MinRK -
Show More
@@ -113,6 +113,7 b' var IPython = (function (IPython) {'
113 var len = data.length;
113 var len = data.length;
114 if (len > 0) {
114 if (len > 0) {
115 for (var i=0; i<len; i++) {
115 for (var i=0; i<len; i++) {
116 var nb_path;
116 if (!data[i].notebook.path) {
117 if (!data[i].notebook.path) {
117 nb_path = data[i].notebook.name;
118 nb_path = data[i].notebook.name;
118 }
119 }
@@ -171,7 +172,7 b' var IPython = (function (IPython) {'
171 var nbname = name.split(".")[0];
172 var nbname = name.split(".")[0];
172 var item = this.new_notebook_item(i);
173 var item = this.new_notebook_item(i);
173 this.add_link(path, nbname, item);
174 this.add_link(path, nbname, item);
174 name = this.notebookPath() + name;
175 name = utils.url_path_join(this.notebookPath(), name);
175 if(this.sessions[name] === undefined){
176 if(this.sessions[name] === undefined){
176 this.add_delete_button(item);
177 this.add_delete_button(item);
177 } else {
178 } else {
@@ -367,7 +368,7 b' var IPython = (function (IPython) {'
367 utils.url_path_join(
368 utils.url_path_join(
368 this.baseProjectUrl(),
369 this.baseProjectUrl(),
369 'notebooks',
370 'notebooks',
370 this.notebookPath(),
371 path,
371 notebook_name),
372 notebook_name),
372 '_blank'
373 '_blank'
373 );
374 );
General Comments 0
You need to be logged in to leave comments. Login now