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