From: Stas Vilchik Date: Wed, 24 Dec 2014 15:45:54 +0000 (+0100) Subject: Fix quality flaws X-Git-Tag: latest-silver-master-#65~412 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=80fb90d29c4f5f9f8419e011e033bfb6638e956c;p=sonarqube.git Fix quality flaws --- diff --git a/server/sonar-web/src/main/js/application.js b/server/sonar-web/src/main/js/application.js index 60b31242d86..a1c209a82b6 100644 --- a/server/sonar-web/src/main/js/application.js +++ b/server/sonar-web/src/main/js/application.js @@ -215,7 +215,7 @@ function openModalWindow(url, options) { // Re activate submit button $j('input[type=submit]', obj).removeAttr('disabled'); errorElt.show(); - errorElt.html($j("
").html(xhr.responseText).text()); + errorElt.html($j('
').html(xhr.responseText).text()); } else { // otherwise replace modal window by the returned text $j('#modal').html(xhr.responseText); diff --git a/server/sonar-web/src/main/js/coding-rules/facets/available-since-facet.js b/server/sonar-web/src/main/js/coding-rules/facets/available-since-facet.js index a0e883ab167..d98f5528896 100644 --- a/server/sonar-web/src/main/js/coding-rules/facets/available-since-facet.js +++ b/server/sonar-web/src/main/js/coding-rules/facets/available-since-facet.js @@ -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); },