From af90cd8c626faef344402fc3412801b6b978f040 Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Mon, 24 Feb 2014 13:11:50 -0800 Subject: [PATCH] fix typo in method name --- IPython/html/static/tree/js/main.js | 2 +- IPython/html/static/tree/js/notebooklist.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/IPython/html/static/tree/js/main.js b/IPython/html/static/tree/js/main.js index 17a74772a..ee48102f9 100644 --- a/IPython/html/static/tree/js/main.js +++ b/IPython/html/static/tree/js/main.js @@ -74,7 +74,7 @@ $(document).ready(function () { // bound the upload method to the on change of the file select list $("#alternate_upload").change(function (event){ - IPython.notebook_list.handelFilesUpload(event,'form'); + IPython.notebook_list.handleFilesUpload(event,'form'); }); // set hash on tab click diff --git a/IPython/html/static/tree/js/notebooklist.js b/IPython/html/static/tree/js/notebooklist.js index 9135997c1..159df7375 100644 --- a/IPython/html/static/tree/js/notebooklist.js +++ b/IPython/html/static/tree/js/notebooklist.js @@ -47,12 +47,12 @@ var IPython = (function (IPython) { return false; }); this.element.bind('drop', function(event){ - that.handelFilesUpload(event,'drop'); + that.handleFilesUpload(event,'drop'); return false; }); }; - NotebookList.prototype.handelFilesUpload = function(event, dropOrForm) { + NotebookList.prototype.handleFilesUpload = function(event, dropOrForm) { var that = this; var files; if(dropOrForm =='drop'){