venti: fix settings in stats

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5558054
This commit is contained in:
David du Colombier 2012-01-20 13:13:30 -05:00 committed by Russ Cox
parent 5c9343753f
commit 5d434a3ff3
2 changed files with 2 additions and 1 deletions

View file

@ -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>

View file

@ -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
}