diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-07-21 09:08:00 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-07-21 09:08:24 +0200 |
commit | d002e2a3a694c7477ca337d45e0025f9402ecfa3 (patch) | |
tree | 00621b9ad1a886b15863b3ca6351ddf62e42e2f3 /sonar-server | |
parent | 7059b993bb888ceb7866fa5b0ac926064c91bc18 (diff) | |
download | sonarqube-d002e2a3a694c7477ca337d45e0025f9402ecfa3.tar.gz sonarqube-d002e2a3a694c7477ca337d45e0025f9402ecfa3.zip |
SONAR-5209 Fix issue when the unfiltered code is displayed
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/coffee/component-viewer/app.coffee | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-server/src/main/coffee/component-viewer/app.coffee b/sonar-server/src/main/coffee/component-viewer/app.coffee index 7994287166a..10726c8d59e 100644 --- a/sonar-server/src/main/coffee/component-viewer/app.coffee +++ b/sonar-server/src/main/coffee/component-viewer/app.coffee @@ -70,7 +70,9 @@ requirejs [ blocks = params.blocks.split(';').map (b) -> t = b.split ',' from: +t[0], to: +t[1] - viewer.on 'resetShowBlocks', -> viewer.sourceView.showBlocks = blocks + viewer.on 'resetShowBlocks', -> + viewer.off 'resetShowBlocks' + viewer.sourceView.showBlocks = blocks viewer.open params.component |