aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2013-01-22 16:44:12 +0100
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2013-01-22 16:44:12 +0100
commit2ee97ff8e066220a80173f1491ba94a239abada9 (patch)
tree05d149a1bf316d114ccf242384d100f46cb13542 /sonar-server/src
parenta8973254128c92b37ca759e1736024e97e927d36 (diff)
downloadsonarqube-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.erb2
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';
}
}