From 2ee97ff8e066220a80173f1491ba94a239abada9 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Tue, 22 Jan 2013 16:44:12 +0100 Subject: [PATCH] SONAR-3981 Fix issue on Chrome --- .../webapp/WEB-INF/app/views/project_reviews/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/index.html.erb index 25c95cb71dc..0b3d3f249ba 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/index.html.erb @@ -19,7 +19,7 @@ url += '?sort=' + columnName; } - if (!document.URL.contains('&asc=true')) { + if (document.URL.indexOf('&asc=true') == -1) { url += '&asc=true'; } } -- 2.39.5