diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-08-18 15:39:55 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-08-18 15:39:55 +0200 |
commit | 4c358f8ee89cddc977c8f1d9329c5ae22a0475c9 (patch) | |
tree | 83137c82828e93c66ad0bf52f6de98c4626ff0c9 /server/sonar-web/src/main/js/apps/coding-rules/rule/profile-activation-view.js | |
parent | 819ba82fd02fb62d034e27d727272bb2df9ace8e (diff) | |
download | sonarqube-4c358f8ee89cddc977c8f1d9329c5ae22a0475c9.tar.gz sonarqube-4c358f8ee89cddc977c8f1d9329c5ae22a0475c9.zip |
fix SONAR-6657 Cannot deactivate just activated rule
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/rule/profile-activation-view.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/rule/profile-activation-view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/rule/profile-activation-view.js b/server/sonar-web/src/main/js/apps/coding-rules/rule/profile-activation-view.js index a310ce97674..87296ca2e0f 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/rule/profile-activation-view.js +++ b/server/sonar-web/src/main/js/apps/coding-rules/rule/profile-activation-view.js @@ -112,7 +112,7 @@ define([ } }).done(function () { that.destroy(); - that.trigger('profileActivated', severity, params); + that.trigger('profileActivated', severity, params, profileKey); }).fail(function (jqXHR) { that.enableForm(); that.showErrors(jqXHR.responseJSON.errors, jqXHR.responseJSON.warnings); |