1
0
Fork 0

fixed type, fixed event not triggering refiltering documents

This commit is contained in:
Heiko Kernbach 2014-11-06 15:09:28 +01:00
parent fb98a3ca96
commit 7e99c16f01
2 changed files with 3 additions and 3 deletions

View File

@ -254,7 +254,7 @@
return queryObj;
},
updloadDocuments : function (file) {
uploadDocuments : function (file) {
var result;
$.ajax({
type: "POST",

View File

@ -81,7 +81,7 @@
"keyup #createEdge" : "listenKey",
"click .key" : "nop",
"keyup" : "returnPressedHandler",
"keydown .filterValue" : "filterValueKeydown",
"keydown .queryline input" : "filterValueKeydown",
"click #importModal" : "showImportModal",
"click #resetView" : "resetView",
"click #confirmDocImport" : "startUpload",
@ -184,7 +184,7 @@
var result;
if (this.allowUpload === true) {
this.showSpinner();
result = this.collection.updloadDocuments(this.file);
result = this.collection.uploadDocuments(this.file);
if (result !== true) {
this.hideSpinner();
if (result.substr(0, 5 ) === "Error") {