From: Dennis Schafroth Date: Thu, 24 Nov 2011 13:18:39 +0000 (+0100) Subject: Ignore Already blocked (13) errors X-Git-Tag: v1.6.6~11 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=e64b6ad9dd551035b2a8f53a53d5d95990cb0865;p=pazpar2-moved-to-github.git Ignore Already blocked (13) errors --- diff --git a/www/iphone/example_client.js b/www/iphone/example_client.js index f2c538a..ea0de77 100644 --- a/www/iphone/example_client.js +++ b/www/iphone/example_client.js @@ -68,10 +68,14 @@ function my_onerror(error) { case "9": triggerSearch(); break; + + // Already blocked + case "13": + // ignore + break // authentication case "100" : - loginFormSubmit(); - //window.location = "login.html"; + auth.check(loggedIn, login); break; default: alert("Unhandled error: " + error.code);