diff options
-rw-r--r-- | server/sonar-web/src/main/coffee/issues/workspace-list-item-view.coffee | 4 | ||||
-rw-r--r-- | server/sonar-web/src/main/coffee/issues/workspace-list-view.coffee | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/coffee/issues/workspace-list-item-view.coffee b/server/sonar-web/src/main/coffee/issues/workspace-list-item-view.coffee index 3b84b643c20..d81b015538c 100644 --- a/server/sonar-web/src/main/coffee/issues/workspace-list-item-view.coffee +++ b/server/sonar-web/src/main/coffee/issues/workspace-list-item-view.coffee @@ -9,15 +9,16 @@ define [ events: -> _.extend super, 'click': 'selectCurrent' + 'dblclick': 'openComponentViewer' 'click .js-issue-navigate': 'openComponentViewer' + initialize: (options) -> @listenTo options.app.state, 'change:selectedIndex', @select onRender: -> super - @$el.addClass 'issue-navigate-right' @select() @@ -51,6 +52,7 @@ define [ else @options.app.controller.showComponentViewer @model + serializeData: -> _.extend super, showComponent: true diff --git a/server/sonar-web/src/main/coffee/issues/workspace-list-view.coffee b/server/sonar-web/src/main/coffee/issues/workspace-list-view.coffee index 8cc7e020816..d52d55bf4d5 100644 --- a/server/sonar-web/src/main/coffee/issues/workspace-list-view.coffee +++ b/server/sonar-web/src/main/coffee/issues/workspace-list-view.coffee @@ -82,7 +82,7 @@ define [ @options.app.controller.selectNextIssue() false - key 'right', 'list', => + key 'right,return', 'list', => selectedIssue = @collection.at @options.app.state.get 'selectedIndex' @options.app.controller.showComponentViewer selectedIssue return false |