]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7442 "Add value" button adds several rows for multi-values properties
authorStas Vilchik <vilchiks@gmail.com>
Thu, 14 Apr 2016 09:21:58 +0000 (11:21 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 14 Apr 2016 09:21:58 +0000 (11:21 +0200)
server/sonar-web/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb

index 9ef0f8ba55df0cd8e553b108cce84778d9fc716e..b19a33736edb9a63f248e45e1f626c30df103bc8 100644 (file)
         </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
       -%>
 
 
 
 <script>
-  $j(document)
+  $j('#properties > form')
     .on('click', '.delete', function () {
       $j(this).parents('.multi_value').remove();
       return false;