mirror of https://gitee.com/bigwinds/arangodb
fixed type, fixed event not triggering refiltering documents
This commit is contained in:
parent
fb98a3ca96
commit
7e99c16f01
|
@ -254,7 +254,7 @@
|
|||
return queryObj;
|
||||
},
|
||||
|
||||
updloadDocuments : function (file) {
|
||||
uploadDocuments : function (file) {
|
||||
var result;
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue