aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2012-01-20 13:13:30 -0500
committerRuss Cox <rsc@swtch.com>2012-01-20 13:13:30 -0500
commit5d434a3ff3426bfdc1a98da2543b1345a475ba67 (patch)
treef8bf3e69133cf4633e890c3fac7e510308f5a2bc /src/cmd/venti
parent5c9343753fce6d3c9465db301743d07644c02dc7 (diff)
downloadplan9port-5d434a3ff3426bfdc1a98da2543b1345a475ba67.tar.gz
plan9port-5d434a3ff3426bfdc1a98da2543b1345a475ba67.tar.bz2
plan9port-5d434a3ff3426bfdc1a98da2543b1345a475ba67.zip
venti: fix settings in stats
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5558054
Diffstat (limited to 'src/cmd/venti')
-rw-r--r--src/cmd/venti/srv/www/stats.html1
-rw-r--r--src/cmd/venti/srv/www/stats.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/www/stats.html b/src/cmd/venti/srv/www/stats.html
index e7579394..e78c6687 100644
--- a/src/cmd/venti/srv/www/stats.html
+++ b/src/cmd/venti/srv/www/stats.html
@@ -6,6 +6,7 @@
<script language="javascript" src="status.js"></script>
</head>
<body bgcolor=#ffffff>
+ <iframe name="hidden" frameborder="0" height="0"></iframe>
<center>
<b>venti.your-domain.com &ndash; venti server statistics</b>
diff --git a/src/cmd/venti/srv/www/stats.js b/src/cmd/venti/srv/www/stats.js
index bf8cdbd5..fd7fe0da 100644
--- a/src/cmd/venti/srv/www/stats.js
+++ b/src/cmd/venti/srv/www/stats.js
@@ -395,5 +395,5 @@ function set(name, value) {
eval(name+"= \""+value+"\"")
redrawsettings()
// Works in FireFox, not in Safari
- parent.hidden.location.href = "/set/"+name+"/"+value
+ parent.hidden.location.href = "/set?name="+name+"&value="+value
}