Show More
@@ -84,7 +84,7 var IPython = (function (IPython) { | |||||
84 |
|
84 | |||
85 | NotebookList.prototype.clear_list = function () { |
|
85 | NotebookList.prototype.clear_list = function () { | |
86 | this.element.children('.list_item').remove(); |
|
86 | this.element.children('.list_item').remove(); | |
87 | } |
|
87 | }; | |
88 |
|
88 | |||
89 |
|
89 | |||
90 | NotebookList.prototype.load_list = function () { |
|
90 | NotebookList.prototype.load_list = function () { | |
@@ -95,7 +95,9 var IPython = (function (IPython) { | |||||
95 | type : "GET", |
|
95 | type : "GET", | |
96 | dataType : "json", |
|
96 | dataType : "json", | |
97 | success : $.proxy(this.list_loaded, this), |
|
97 | success : $.proxy(this.list_loaded, this), | |
98 | error : $.proxy( function(){that.list_loaded([],null,null,{msg:"Error connecting to server."})},this) |
|
98 | error : $.proxy( function(){ | |
|
99 | that.list_loaded([], null, null, {msg:"Error connecting to server."}); | |||
|
100 | },this) | |||
99 | }; |
|
101 | }; | |
100 |
|
102 | |||
101 | var url = $('body').data('baseProjectUrl') + 'notebooks'; |
|
103 | var url = $('body').data('baseProjectUrl') + 'notebooks'; |
General Comments 0
You need to be logged in to leave comments.
Login now