From: Adam Dickmeiss Date: Fri, 30 Oct 2009 21:45:28 +0000 (+0100) Subject: Fix bytarget requests being stopped (bug #3087) X-Git-Tag: v1.2.3~2^2~12 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=b8fe4f668ee8f33ff8629e090dbcdf2860060a1b;p=pazpar2-moved-to-github.git Fix bytarget requests being stopped (bug #3087) Context global activeClients is set to 1 when a search is initiated to ensure that if bytarget is executed it will be continued if no response has been returned which would set activeClients (show, stat). --- diff --git a/js/pz2.js b/js/pz2.js index affff33..800546e 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -251,6 +251,7 @@ pz2.prototype = this.termCounter = 0; this.bytargetCounter = 0; this.statCounter = 0; + this.activeClients = 1; // no proxy mode if( !this.initStatusOK )