fix typo in method name

This commit is contained in:
Paul Ivanov 2014-02-24 13:11:50 -08:00
parent cb1bb62272
commit af90cd8c62
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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'){