]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5718 Fix expand shortcut
authorStas Vilchik <vilchiks@gmail.com>
Fri, 31 Oct 2014 13:28:45 +0000 (14:28 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 31 Oct 2014 15:50:42 +0000 (16:50 +0100)
server/sonar-web/src/main/coffee/issue/issue-view.coffee

index 1618fe8d26a40d8574061bd7f47330cebcb375fd..ad34cc815474c62f24dcb8cc48c3f886eddd49df 100644 (file)
@@ -52,8 +52,6 @@ define [
 
 
     events:
-      'click': 'setDetailScope',
-
       'click .code-issue-toggle': 'toggleCollapsed',
 
       'click [href=#tab-issue-rule]': 'showRuleTab',
@@ -77,20 +75,11 @@ define [
       @changeLogRegion.show new ChangeLogView collection: @changeLog, issue: @model
 
 
-    setDetailScope: ->
-      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 }