summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rwxr-xr-xpublic/media/js/script.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/public/media/js/script.js b/public/media/js/script.js
index ab57acf..74a82ce 100755
--- a/public/media/js/script.js
+++ b/public/media/js/script.js
@@ -43,13 +43,17 @@ $(document)
mypath = '/' + path[1] + '/' + path[2] + '/owndetails';
} else if (path[1] == 'event') {
mypath = '/event';
- } else if (path[1] == 'statistic') {
+ } else if (path[1] == 'statistics') {
if(path[2] == 'category') {
- mypath = '/statistic/category';
+ mypath = '/statistics/category';
} else if(path[2] == 'running') {
- mypath = '/statistic/running';
+ mypath = '/statistics/running';
+ } else if(path[2] == 'success') {
+ mypath = '/statistics/success';
+ } else if(path[2] == 'type') {
+ mypath = '/statistics/type';
} else {
- mypath = '/statistic';
+ mypath = '/statistics';
}
setElementVisible('statisticsTree');
} else {