mirror of https://gitee.com/bigwinds/arangodb
query view bugfix
This commit is contained in:
parent
6a05c26531
commit
2a571d1f6b
|
@ -295,7 +295,6 @@
|
||||||
this.toggleQueries();
|
this.toggleQueries();
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.aqlEditorWrapper').first().width($(window).width() * 0.66);
|
|
||||||
this.aqlEditor.setValue(this.getCustomQueryValueByName(name));
|
this.aqlEditor.setValue(this.getCustomQueryValueByName(name));
|
||||||
this.fillBindParamTable(this.getCustomQueryParameterByName(name));
|
this.fillBindParamTable(this.getCustomQueryParameterByName(name));
|
||||||
this.updateBindParams();
|
this.updateBindParams();
|
||||||
|
@ -657,8 +656,10 @@
|
||||||
this.setCachedQuery(this.aqlEditor.getValue(), JSON.stringify(this.bindParamTableObj));
|
this.setCachedQuery(this.aqlEditor.getValue(), JSON.stringify(this.bindParamTableObj));
|
||||||
|
|
||||||
//fire execute if return was pressed
|
//fire execute if return was pressed
|
||||||
if (e.ctrlKey && e.keyCode === 13) {
|
if (e) {
|
||||||
this.executeQuery();
|
if (e.ctrlKey && e.keyCode === 13) {
|
||||||
|
this.executeQuery();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue