Revert "Add re-try on faulty show"
authorDennis Schafroth <dennis@indexdata.com>
Fri, 25 Nov 2011 13:45:09 +0000 (14:45 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 25 Nov 2011 13:45:09 +0000 (14:45 +0100)
This reverts commit d7aab7777fc655e0d0927ee1748ba4695d203859.

This doesn't help on HTTP 417 errors. I still believe we need it, but reverting for now.

js/pz2.js

index 1b586df..ca0d28c 100644 (file)
--- a/js/pz2.js
+++ b/js/pz2.js
@@ -430,10 +430,6 @@ 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);
             }