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; return queryObj;
}, },
updloadDocuments : function (file) { uploadDocuments : function (file) {
var result; var result;
$.ajax({ $.ajax({
type: "POST", type: "POST",

View File

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