Fix passing empty list to draw_notebook_list()

pull/37/head
Thomas Kluyver 12 years ago
parent a4f869aa8b
commit 1f2e4cc6c3

@ -145,7 +145,7 @@ define([
this.contents.list_contents(that.notebook_path, {
success: $.proxy(this.draw_notebook_list, this),
error: function(error) {
that.draw_notebook_list([], "Server error: " + error.message);
that.draw_notebook_list({content: []}, "Server error: " + error.message);
}
});
};

Loading…
Cancel
Save