aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-07-02 16:55:24 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-07-02 16:55:24 +0600
commitbce2ea2bfacbc4f2959dac92162cc852546311c5 (patch)
tree2760ed2644f5c27dd2dc884453e92f14854747f5
parent8552b3d8d7fb6dea57b0fbe82c587e9a73e3d93d (diff)
downloadsonarqube-bce2ea2bfacbc4f2959dac92162cc852546311c5.tar.gz
sonarqube-bce2ea2bfacbc4f2959dac92162cc852546311c5.zip
Fix key shortcuts after performing an action
-rw-r--r--sonar-server/src/main/coffee/issues/issue-view.coffee5
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-server/src/main/coffee/issues/issue-view.coffee b/sonar-server/src/main/coffee/issues/issue-view.coffee
index e69aad37eec..21039ad32c2 100644
--- a/sonar-server/src/main/coffee/issues/issue-view.coffee
+++ b/sonar-server/src/main/coffee/issues/issue-view.coffee
@@ -82,11 +82,16 @@ define [
key.setScope 'detail'
+ setListScope: ->
+ key.setScope 'list'
+
+
onClose: ->
@ruleRegion.reset() if @ruleRegion
resetIssue: (options) ->
+ @setListScope()
key = @model.get 'key'
@model.clear silent: true
@model.set { key: key }, { silent: true }