projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84c071f
)
Example client specifies usesessions=true
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 22 Jun 2007 10:54:46 +0000
(10:54 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 22 Jun 2007 10:54:46 +0000
(10:54 +0000)
www/jsdemo/example_client.js
patch
|
blob
|
history
diff --git
a/www/jsdemo/example_client.js
b/www/jsdemo/example_client.js
index
a9fe032
..
0863997
100644
(file)
--- a/
www/jsdemo/example_client.js
+++ b/
www/jsdemo/example_client.js
@@
-1,5
+1,5
@@
/* A very simple client that shows a basic usage of the pz2.js
-** $Id: example_client.js,v 1.1 2007-06-21 09:44:17 adam Exp $
+** $Id: example_client.js,v 1.2 2007-06-22 10:54:46 adam Exp $
*/
// create a parameters array and pass it to the pz2's constructor
@@
-13,6
+13,7
@@
my_paz = new pz2( { "onshow": my_onshow,
"onterm": my_onterm,
"termlist": "subject,author",
"onbytarget": my_onbytarget,
+ "usesessions" : true,
"onrecord": my_onrecord } );
// some state vars
var curPage = 1;