From: Fabrice Bellingard Date: Tue, 22 Jan 2013 15:44:12 +0000 (+0100) Subject: SONAR-3981 Fix issue on Chrome X-Git-Tag: 3.5~366^2~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2ee97ff8e066220a80173f1491ba94a239abada9;p=sonarqube.git SONAR-3981 Fix issue on Chrome --- 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'; } }