]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5718 Add shortcuts to navigate between modes
authorStas Vilchik <vilchiks@gmail.com>
Mon, 3 Nov 2014 15:31:31 +0000 (16:31 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 3 Nov 2014 15:48:57 +0000 (16:48 +0100)
server/sonar-web/src/main/coffee/issues/component-viewer/main.coffee
server/sonar-web/src/main/coffee/issues/workspace-list-view.coffee

index b354c7a861e92bbe82c6d1ab948f5c483db96c93..4df69e47e9032d2d62f6afd617cb1c9f28a7a8e4 100644 (file)
@@ -47,7 +47,7 @@ define [
 
 
     bindShortcuts: ->
-      key 'delete,backspace', 'componentViewer', =>
+      key 'delete,backspace,left', 'componentViewer', =>
         @options.app.controller.closeComponentViewer()
         false
 
index 18413b1dff25d3a6c509c16f1c53d604e555c23d..8d166d283b0f46f4e856647f3a174dec6ff905a6 100644 (file)
@@ -57,7 +57,7 @@ define [
 
 
     bindShortcuts: ->
-      key 'return', 'list', =>
+      key 'return,right', 'list', =>
         selectedIssue = @collection.at @options.app.state.get 'selectedIndex'
         @options.app.controller.showComponentViewer selectedIssue
         return false