diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2013-01-22 16:44:12 +0100 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2013-01-22 16:44:12 +0100 |
commit | 2ee97ff8e066220a80173f1491ba94a239abada9 (patch) | |
tree | 05d149a1bf316d114ccf242384d100f46cb13542 /sonar-server/src | |
parent | a8973254128c92b37ca759e1736024e97e927d36 (diff) | |
download | sonarqube-2ee97ff8e066220a80173f1491ba94a239abada9.tar.gz sonarqube-2ee97ff8e066220a80173f1491ba94a239abada9.zip |
SONAR-3981 Fix issue on Chrome
Diffstat (limited to 'sonar-server/src')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } } |