]> source.dussan.org Git - sonarqube.git/commitdiff
Fix key shortcuts after performing an action
authorStas Vilchik <vilchiks@gmail.com>
Wed, 2 Jul 2014 10:55:24 +0000 (16:55 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 2 Jul 2014 10:55:24 +0000 (16:55 +0600)
sonar-server/src/main/coffee/issues/issue-view.coffee

index e69aad37eec051f775706e4d8bc2415258c3ee2a..21039ad32c27bdc610dca7f58b8836e09eb1bdcb 100644 (file)
@@ -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 }