From: Jakub Skoczen Date: Thu, 19 Jun 2008 13:43:50 +0000 (+0200) Subject: Reverted the jsdemo client back to the usesessions mode. X-Git-Tag: v1.0.10~19 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=8cd1b8ac05626c5ddf1a590e9221f5e23ea0585e;p=pazpar2-moved-to-github.git Reverted the jsdemo client back to the usesessions mode. --- diff --git a/www/jsdemo/example_client.js b/www/jsdemo/example_client.js index b6b1aea..41d01c5 100644 --- a/www/jsdemo/example_client.js +++ b/www/jsdemo/example_client.js @@ -6,10 +6,10 @@ // then register the form submit event with the pz2.search function // autoInit is set to true on default var usesessions = false; -var pazpar2path = '.'; +var pazpar2path = '/pazpar2/search.pz2'; if (document.location.hash == '#nosessions') { - usesessions = true; - pazpar2path = '/pazpar2/search.pz2'; + usesessions = false; + pazpar2path = '.'; } my_paz = new pz2( { "onshow": my_onshow, diff --git a/www/jsdemo/index.html b/www/jsdemo/index.html index 7f28637..dee8f86 100644 --- a/www/jsdemo/index.html +++ b/www/jsdemo/index.html @@ -14,9 +14,9 @@ - Records Browser + Records Browser | - Targets Information + Targets Information