1
0
Fork 0

query view support mac meta key

This commit is contained in:
hkernbach 2016-03-29 15:53:22 +02:00
parent cdc37d65fc
commit dee5e6d118
1 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@
"click #querySpotlight": "showSpotlight",
"click #deleteQuery": "selectAndDeleteQueryFromTable",
"click #explQuery": "selectAndExplainQueryFromTable",
"keyup #arangoBindParamTable input": "updateBindParams",
"keydown #arangoBindParamTable input": "updateBindParams",
"change #arangoBindParamTable input": "updateBindParams",
"click #arangoMyQueriesTable tbody tr" : "showQueryPreview",
"dblclick #arangoMyQueriesTable tbody tr" : "selectQueryFromTable",
@ -657,7 +657,8 @@
//fire execute if return was pressed
if (e) {
if (e.ctrlKey && e.keyCode === 13) {
if ((e.ctrlKey || e.metaKey) && e.keyCode === 13) {
e.preventDefault();
this.executeQuery();
}
}
@ -1362,7 +1363,6 @@
}
}
catch (e) {
console.log(e);
arangoHelper.arangoError("Query", "Something went wrong.");
self.removeOutputEditor(counter);
}