]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4614 Remove prototypejs from dashboards
authorstephenbroyer <stephen.broyer@sonarsource.com>
Wed, 18 Sep 2013 14:56:34 +0000 (16:56 +0200)
committerstephenbroyer <stephen.broyer@sonarsource.com>
Wed, 18 Sep 2013 15:02:13 +0000 (17:02 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/configure.html.erb

index 9ffb899f05efea60f7fff68904e3c24eb9f4fdb2..40e31dbd718a2aa6cf2f28d52d33b1a01ba4b3ea 100644 (file)
@@ -93,7 +93,7 @@
   function filtersWidgetsByContent(text) {
     var userInput = text.toLowerCase();
     widgetContents.each(function (widget) {
-      var element = $(widget.id);
+      var element = $j('#'+widget.id);
       if (element != null) {
         if (widget.c.indexOf(userInput) != -1) {
           element.show();