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:
a6b6afe
)
Add re-try on faulty show
author
Dennis Schafroth
<dennis@indexdata.com>
Thu, 24 Nov 2011 13:11:58 +0000
(14:11 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Thu, 24 Nov 2011 13:11:58 +0000
(14:11 +0100)
js/pz2.js
patch
|
blob
|
history
diff --git
a/js/pz2.js
b/js/pz2.js
index
ca0d28c
..
1b586df
100644
(file)
--- a/
js/pz2.js
+++ b/
js/pz2.js
@@
-430,6
+430,10
@@
pz2.prototype =
for (i = 0; i < hits.length; i++)
show.hits[i] = Element_parseChildNodes(hits[i]);
} else {
+ // We prob. got a 417 Already blocked, need to retry
+ context.showTimer = setTimeout(function () {
+ context.show();
+ }, delay);
context.throwError('Show failed. Malformed WS resonse.',
114);
}