]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaws
authorStas Vilchik <vilchiks@gmail.com>
Wed, 24 Dec 2014 15:45:54 +0000 (16:45 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 24 Dec 2014 15:49:41 +0000 (16:49 +0100)
server/sonar-web/src/main/js/application.js
server/sonar-web/src/main/js/coding-rules/facets/available-since-facet.js

index 60b31242d864ffd05d5f8418d70c91fcb0707202..a1c209a82b6b158a0e0e78e8b1dc17768b290faa 100644 (file)
@@ -215,7 +215,7 @@ function openModalWindow(url, options) {
                 // Re activate submit button
                 $j('input[type=submit]', obj).removeAttr('disabled');
                 errorElt.show();
-                errorElt.html($j("<div/>").html(xhr.responseText).text());
+                errorElt.html($j('<div/>').html(xhr.responseText).text());
               } else {
                 // otherwise replace modal window by the returned text
                 $j('#modal').html(xhr.responseText);
index a0e883ab167f02ee5dc42f16ba95b06391310f9e..d98f5528896e26ed895515890f5ffe1c29383407 100644 (file)
@@ -29,7 +29,7 @@ define([
     applyFacet: function() {
       var obj = {},
           property = this.model.get('property');
-      obj[property] = this.$('input').val()
+      obj[property] = this.$('input').val();
       this.options.app.state.updateFilter(obj);
     },