From ccd92f7fc3f0a764cd38c13d7b2fcd1674c10fa2 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Mon, 21 May 2007 10:10:41 +0000 Subject: [PATCH] Counters and timers cd. --- js/pz2.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/pz2.js b/js/pz2.js index 0dc578d..b4344c0 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -1,5 +1,5 @@ /* -** $Id: pz2.js,v 1.19 2007-05-21 09:07:43 jakub Exp $ +** $Id: pz2.js,v 1.20 2007-05-21 10:10:41 jakub Exp $ ** pz2.js - pazpar2's javascript client library. */ @@ -383,12 +383,13 @@ pz2.prototype = { } } } + __myself.recordCallback(record); } else // if it gets here the http return code was 200 (pz2 errors are 417) // but the response was invalid, it should never occur - setTimeout("__myself.record(__myself.currRecID)", 1000); + setTimeout("__myself.record(__myself.currRecID)", 500); } ); }, -- 1.7.10.4