diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js index 8eec42f..f2e2b67 100644 --- a/IPython/html/static/notebook/js/notebook.js +++ b/IPython/html/static/notebook/js/notebook.js @@ -2115,7 +2115,7 @@ define([ this.notebook_name = notebook_name; this.notebook_path = notebook_path; this.events.trigger('notebook_loading.Notebook'); - this.contents.load_file(notebook_path, notebook_name, { + this.contents.load(notebook_path, notebook_name, { success: $.proxy(this.load_notebook_success, this), error: $.proxy(this.load_notebook_error, this) }); diff --git a/IPython/html/static/services/contents.js b/IPython/html/static/services/contents.js index 305798f..9459da4 100644 --- a/IPython/html/static/services/contents.js +++ b/IPython/html/static/services/contents.js @@ -77,7 +77,7 @@ define([ * @param {Function} success * @param {Function} error */ - Contents.prototype.load_file = function (path, name, options) { + Contents.prototype.load = function (path, name, options) { // We do the call with settings so we can set cache to false. var settings = { processData : false,