summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorSebastian Wagner2011-10-07 15:10:11 +0200
committerSebastian Wagner2011-10-07 15:10:11 +0200
commit2be836c30fa91b70b6ca1d8fbd4e7d31d7d1475b (patch)
treeba65bb0493f227305fcf706052bd027365ef090e /public
parentnew statistic, all_pools implemented (diff)
downloadpoolctrl-2be836c30fa91b70b6ca1d8fbd4e7d31d7d1475b.tar.gz
poolctrl-2be836c30fa91b70b6ca1d8fbd4e7d31d7d1475b.tar.xz
poolctrl-2be836c30fa91b70b6ca1d8fbd4e7d31d7d1475b.zip
rename statistic
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 {