Skip to content

Commit

Permalink
Merge pull request #350 from joeysim/ctrl_enter_exec
Browse files Browse the repository at this point in the history
Added support for Cmd+Enter query execution for PCs
  • Loading branch information
arikfr committed Jan 18, 2015
2 parents e85d3c3 + 0a69609 commit 21c0429
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,8 +21,13 @@
$scope.saveQuery();
}
},
// Cmd+Enter for Mac
'meta+enter': function () {
$scope.executeQuery();
},
// Ctrl+Enter for PC
'ctrl+enter': function () {
$scope.executeQuery();
}
};

Expand Down

0 comments on commit 21c0429

Please sign in to comment.