diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-06-30 11:47:55 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-06-30 11:48:12 +0200 |
commit | 909de7ac11cf0cf53b77f56809f0a7e8830175de (patch) | |
tree | b9ae9f14adfbd0f2ed3f7e97ddbfd533cab35977 | |
parent | 0ff79ac40139f821df57ed8087fab6718a8100cd (diff) | |
download | sonarqube-909de7ac11cf0cf53b77f56809f0a7e8830175de.tar.gz sonarqube-909de7ac11cf0cf53b77f56809f0a7e8830175de.zip |
SONAR-5135 Hide form after bulk application
-rw-r--r-- | sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee index a5107ffc484..7a7b697c758 100644 --- a/sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee +++ b/sonar-server/src/main/coffee/coding-rules/views/coding-rules-bulk-change-view.coffee @@ -15,6 +15,7 @@ define [ modalError: '.modal-error' modalWarning: '.modal-warning' modalNotice: '.modal-notice' + modalField: '.modal-field' codingRulesSubmitBulkChange: '#coding-rules-submit-bulk-change' codingRulesCancelBulkChange: '#coding-rules-cancel-bulk-change' codingRulesCloseBulkChange: '#coding-rules-close-bulk-change' @@ -79,6 +80,7 @@ define [ url: "#{baseUrl}/api/qualityprofiles/#{wsAction}_rules" data: query .done (r) => + @ui.modalField.hide() if (r.failed) @ui.modalWarning.show() @ui.modalWarning.html tp('coding_rules.bulk_change.warning', r.succeeded, r.failed) |