aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/issue/views/issue-popup.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-06-09 12:13:56 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-06-09 16:20:22 +0200
commite9ac473ec7dc0433cadf3f64f5d7980e38e0b93c (patch)
treef641493172b0f5a82b6207e1bb3c058f6f2d4914 /server/sonar-web/src/main/js/components/issue/views/issue-popup.js
parent6e85ae2bcf98c12c634e792742a72b8e02a04d33 (diff)
downloadsonarqube-e9ac473ec7dc0433cadf3f64f5d7980e38e0b93c.tar.gz
sonarqube-e9ac473ec7dc0433cadf3f64f5d7980e38e0b93c.zip
upgrade backbone.marionette
Diffstat (limited to 'server/sonar-web/src/main/js/components/issue/views/issue-popup.js')
-rw-r--r--server/sonar-web/src/main/js/components/issue/views/issue-popup.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/views/issue-popup.js b/server/sonar-web/src/main/js/components/issue/views/issue-popup.js
index 575fb50a52a..9c36ad104b5 100644
--- a/server/sonar-web/src/main/js/components/issue/views/issue-popup.js
+++ b/server/sonar-web/src/main/js/components/issue/views/issue-popup.js
@@ -11,7 +11,7 @@ define([
events: function () {
return {
- 'click .js-issue-form-cancel': 'close'
+ 'click .js-issue-form-cancel': 'destroy'
};
},
@@ -21,8 +21,8 @@ define([
this.options.view.render();
},
- onClose: function () {
- this.options.view.close();
+ onDestroy: function () {
+ this.options.view.destroy();
},
attachCloseEvents: function () {