added support for saving query with cmd+s

This commit is contained in:
Joey Simhon
2015-01-25 22:52:31 +02:00
parent d941e5e5b1
commit 2536fd57ed

View File

@@ -21,6 +21,11 @@
$scope.saveQuery();
}
},
'ctrl+s': function () {
if ($scope.canEdit) {
$scope.saveQuery();
}
},
// Cmd+Enter for Mac
'meta+enter': function () {
$scope.executeQuery();