Translates diagnostic 1 and 2
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Wed, 15 Sep 2010 21:30:11 +0000 (17:30 -0400)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Wed, 15 Sep 2010 21:30:11 +0000 (17:30 -0400)
... to "Permanent system error" and "Temporary system error"
    respectively

js/pz2.js

index 3665c4e..8aab9bf 100644 (file)
--- 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++;