From: Jakub Skoczen Date: Mon, 21 May 2007 08:21:33 +0000 (+0000) Subject: Creating symlinks for the pz2.js during the configure process X-Git-Tag: PAZPAR2.1.0.0~120 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=48451048f0520ca2d3ea8a303f21628b063ef4ef;p=pazpar2-moved-to-github.git Creating symlinks for the pz2.js during the configure process --- diff --git a/configure.ac b/configure.ac index 57554c5..aabc855 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,9 @@ YAZ_DOC AC_CHECK_ICU(3.6, [], AC_MSG_WARN([For ICU internationalizing support please install libicu36-dev or similar])) +ln -sf ../../js/pz2.js www/example/pz2.js +ln -sf ../../../js/pz2.js www/masterkey/js/pz2.js + AC_CONFIG_FILES([ Doxyfile Makefile diff --git a/www/example/example_client.js b/www/example/example_client.js index e84d5c4..aad6303 100644 --- a/www/example/example_client.js +++ b/www/example/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.3 2007-05-18 17:16:05 jakub Exp $ +** $Id: example_client.js,v 1.4 2007-05-21 08:21:33 jakub Exp $ */ // create a parameters array and pass it to the pz2's constructor @@ -15,7 +15,7 @@ my_paz = new pz2( { "onshow": my_onshow, "onrecord": my_onrecord } ); // some state vars var curPage = 1; -var recPerPage = 15; +var recPerPage = 20; var totalRec = 0; var curDetRecId = -1; var curDetRecData = null; @@ -25,6 +25,7 @@ function domReady () { document.search.onsubmit = onFormSubmitEventHandler; my_paz.stat(); + my_paz.bytarget(); } // when search button pressed