projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37211a
)
Translates diagnostic 1 and 2
author
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Wed, 15 Sep 2010 21:30:11 +0000
(17:30 -0400)
committer
Niels 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
patch
|
blob
|
history
diff --git
a/js/pz2.js
b/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++;