aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-04-14 11:21:58 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-04-14 11:21:58 +0200
commit497a386161f63e64d5e6dddc50e22f4fea801454 (patch)
tree1369ae3a44de45b7cf5a388884cc0e3b85f77b77 /server/sonar-web/src/main/webapp
parentde3df7e5fea866d114b402a6c9fe71545e2afcdc (diff)
downloadsonarqube-497a386161f63e64d5e6dddc50e22f4fea801454.tar.gz
sonarqube-497a386161f63e64d5e6dddc50e22f4fea801454.zip
SONAR-7442 "Add value" button adds several rows for multi-values properties
Diffstat (limited to 'server/sonar-web/src/main/webapp')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
index 9ef0f8ba55d..b19a33736ed 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
@@ -178,14 +178,14 @@
</tbody>
</table>
</div>
- <% else
+ <% else
help = category_help(@category)
unless help.blank?
-%>
<div class="help marginbottom10" style="margin-left: -1px">
<%= help -%>
</div>
- <% end
+ <% end
end
-%>
@@ -196,7 +196,7 @@
<script>
- $j(document)
+ $j('#properties > form')
.on('click', '.delete', function () {
$j(this).parents('.multi_value').remove();
return false;