From: Adam Dickmeiss Date: Fri, 12 Sep 2008 12:00:07 +0000 (+0200) Subject: updates for new stat response X-Git-Tag: v1.1.0~115 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=004ba7a58c8abaebefa2bc9fe225fa17380d2924;p=pazpar2-moved-to-github.git updates for new stat response --- diff --git a/js/pz2.js b/js/pz2.js index 4e2702f..09dbf32 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -332,14 +332,14 @@ pz2.prototype = "clients": Number( data.getElementsByTagName("clients")[0] .childNodes[0].nodeValue ), - "initializing": - Number( data.getElementsByTagName("initializing")[0] + "unconnected": + Number( data.getElementsByTagName("unconnected")[0] .childNodes[0].nodeValue ), - "searching": - Number( data.getElementsByTagName("searching")[0] + "connecting": + Number( data.getElementsByTagName("connecting")[0] .childNodes[0].nodeValue ), - "presenting": - Number( data.getElementsByTagName("presenting")[0] + "working": + Number( data.getElementsByTagName("working")[0] .childNodes[0].nodeValue ), "idle": Number( data.getElementsByTagName("idle")[0]