diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-03-04 09:46:32 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-03-04 09:46:40 +0100 |
commit | 7c63430b8cac7b1397c8953c8a51221aa456cb2e (patch) | |
tree | f2d773c727abe3855e8c6e809fd9a49f826355cb | |
parent | fce2631d576ab64674661f9028d86eae13c5e97e (diff) | |
download | sonarqube-7c63430b8cac7b1397c8953c8a51221aa456cb2e.tar.gz sonarqube-7c63430b8cac7b1397c8953c8a51221aa456cb2e.zip |
SONAR-4366 Quality Gates: fix issue with updating conditions
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-detail-condition-view.coffee b/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-detail-condition-view.coffee index 6f417be31b5..f4d5125946a 100644 --- a/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-detail-condition-view.coffee +++ b/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-detail-condition-view.coffee @@ -68,7 +68,7 @@ define [ hideSpinner: -> @ui.actionsBox.find('.spinner').remove() - @ui.actionsBox.children().show() + @ui.actionsBox.find(':not(.spinner)').show() saveCondition: -> diff --git a/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-detail-condition-view.js b/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-detail-condition-view.js index e7426777ee8..53c44c0fe63 100644 --- a/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-detail-condition-view.js +++ b/sonar-server/src/main/webapp/javascripts/quality-gate/views/quality-gate-detail-condition-view.js @@ -83,7 +83,7 @@ QualityGateDetailConditionView.prototype.hideSpinner = function() { this.ui.actionsBox.find('.spinner').remove(); - return this.ui.actionsBox.children().show(); + return this.ui.actionsBox.find(':not(.spinner)').show(); }; QualityGateDetailConditionView.prototype.saveCondition = function() { |