diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/issue/views/action-options-view.js')
-rw-r--r-- | server/sonar-web/src/main/js/components/issue/views/action-options-view.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/views/action-options-view.js b/server/sonar-web/src/main/js/components/issue/views/action-options-view.js index 402a0cc6ec6..57b5c95d0a9 100644 --- a/server/sonar-web/src/main/js/components/issue/views/action-options-view.js +++ b/server/sonar-web/src/main/js/components/issue/views/action-options-view.js @@ -75,7 +75,7 @@ define([ return that.selectActiveOption(); }); key('escape', this.keyScope, function () { - return that.close(); + return that.destroy(); }); key('backspace', this.keyScope, function () { return false; @@ -96,8 +96,8 @@ define([ key.setScope(this.currentKeyScope); }, - onClose: function () { - PopupView.prototype.onClose.apply(this, arguments); + onDestroy: function () { + PopupView.prototype.onDestroy.apply(this, arguments); this.unbindShortcuts(); this.$('[data-toggle="tooltip"]').tooltip('destroy'); $('.tooltip').remove(); @@ -105,7 +105,7 @@ define([ selectOption: function (e) { e.preventDefault(); - this.close(); + this.destroy(); }, selectActiveOption: function () { |