From: Jean-Baptiste Lievremont Date: Mon, 30 Jun 2014 09:47:55 +0000 (+0200) Subject: SONAR-5135 Hide form after bulk application X-Git-Tag: 4.4-RC1~99 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=909de7ac11cf0cf53b77f56809f0a7e8830175de;p=sonarqube.git SONAR-5135 Hide form after bulk application --- 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)