Skip to content

Commit

Permalink
Merge pull request #362 from joeysim/ctrl-s-for-save
Browse files Browse the repository at this point in the history
added support for saving query with ctrl+s
  • Loading branch information
arikfr committed Jan 26, 2015
2 parents d941e5e + 2536fd5 commit 3b9d9ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rd_ui/app/scripts/controllers/query_source.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
$scope.saveQuery();
}
},
'ctrl+s': function () {
if ($scope.canEdit) {
$scope.saveQuery();
}
},
// Cmd+Enter for Mac
'meta+enter': function () {
$scope.executeQuery();
Expand Down

0 comments on commit 3b9d9ac

Please sign in to comment.