From 80fb90d29c4f5f9f8419e011e033bfb6638e956c Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 24 Dec 2014 16:45:54 +0100 Subject: [PATCH] Fix quality flaws --- server/sonar-web/src/main/js/application.js | 2 +- .../src/main/js/coding-rules/facets/available-since-facet.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }, -- 2.39.5