From e64b6ad9dd551035b2a8f53a53d5d95990cb0865 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 24 Nov 2011 14:18:39 +0100 Subject: [PATCH] Ignore Already blocked (13) errors --- www/iphone/example_client.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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); -- 1.7.10.4