diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-06-09 12:13:56 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-06-09 16:20:22 +0200 |
commit | e9ac473ec7dc0433cadf3f64f5d7980e38e0b93c (patch) | |
tree | f641493172b0f5a82b6207e1bb3c058f6f2d4914 /server/sonar-web/src/main/js/components/issue/views/issue-popup.js | |
parent | 6e85ae2bcf98c12c634e792742a72b8e02a04d33 (diff) | |
download | sonarqube-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.js | 6 |
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 () { |