From a5541fb178440b3ae77953fbb492cd30bb8180a1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Thu, 8 Jan 2015 09:31:22 +0100 Subject: [PATCH] Fix quality flaw --- server/sonar-web/src/main/js/widgets/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/widgets/widget.js b/server/sonar-web/src/main/js/widgets/widget.js index 4a8b90e89a0..8b50080eb95 100644 --- a/server/sonar-web/src/main/js/widgets/widget.js +++ b/server/sonar-web/src/main/js/widgets/widget.js @@ -47,7 +47,7 @@ window.SonarWidgets = window.SonarWidgets == null ? {} : window.SonarWidgets; if (typeof(response.components) === 'undefined' || response.components.length > 0) { that.widget = new SonarWidgets[that.type()](); that.widget.metricsPriority(that.metricsPriority()); - that.widget.options(that.options()) + that.widget.options(that.options()); that.widget.metrics(response.metrics); that.widget.components(response.components); if(typeof(that.widget.parseSource) === 'function') { -- 2.39.5