From ad96f98478e2e653c503ae3cbfc3a3b80f0c5a1b Mon Sep 17 00:00:00 2001 From: "Niels Erik G. Nielsen" Date: Wed, 15 Sep 2010 17:30:11 -0400 Subject: [PATCH] Translates diagnostic 1 and 2 ... to "Permanent system error" and "Temporary system error" respectively --- js/pz2.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/pz2.js b/js/pz2.js index 3665c4e..8aab9bf 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -644,6 +644,11 @@ pz2.prototype = } else if (bytarget[i]["state"]=="Client_Working") { bytarget[i]["hits"] = "..."; } + if (bytarget[i].diagnostic == "1") { + bytarget[i].diagnostic = "Permanent system error"; + } else if (bytarget[i].diagnostic == "2") { + bytarget[i].diagnostic = "Temporary system error"; + } } context.bytargetCounter++; -- 1.7.10.4