aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/component-viewer/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/component-viewer/main.js')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/component-viewer/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/component-viewer/main.js b/server/sonar-web/src/main/js/apps/issues/component-viewer/main.js
index f138a860d30..1e79d92e45d 100644
--- a/server/sonar-web/src/main/js/apps/issues/component-viewer/main.js
+++ b/server/sonar-web/src/main/js/apps/issues/component-viewer/main.js
@@ -73,8 +73,8 @@ define([
return key.deleteScope('componentViewer');
},
- onClose: function () {
- SourceViewer.prototype.onClose.apply(this, arguments);
+ onDestroy: function () {
+ SourceViewer.prototype.onDestroy.apply(this, arguments);
this.unbindScrollEvents();
return this.unbindShortcuts();
},