1
0
Fork 0

query view bugfix

This commit is contained in:
hkernbach 2016-03-29 15:18:36 +02:00
parent 6a05c26531
commit 2a571d1f6b
1 changed files with 4 additions and 3 deletions

View File

@ -295,7 +295,6 @@
this.toggleQueries();
}
$('.aqlEditorWrapper').first().width($(window).width() * 0.66);
this.aqlEditor.setValue(this.getCustomQueryValueByName(name));
this.fillBindParamTable(this.getCustomQueryParameterByName(name));
this.updateBindParams();
@ -657,8 +656,10 @@
this.setCachedQuery(this.aqlEditor.getValue(), JSON.stringify(this.bindParamTableObj));
//fire execute if return was pressed
if (e.ctrlKey && e.keyCode === 13) {
this.executeQuery();
if (e) {
if (e.ctrlKey && e.keyCode === 13) {
this.executeQuery();
}
}
},