/*
-** $Id: pz2.js,v 1.8 2007-04-18 03:42:30 quinn Exp $
+** $Id: pz2.js,v 1.9 2007-04-18 04:07:48 quinn Exp $
** pz2.js - pazpar2's javascript client library.
*/
// error handling
$(document).ajaxError(
function (request, settings, exception) {
+ alert("AjaxErr");
if ( settings.responseXML && settings.responseXML.getElementsByTagName("error") )
throw new Error( settings.responseXML.getElementsByTagName("error")[0].childNodes[0].nodeValue);
});
var delay = __myself.showTime;
if (__myself.showCounter > __myself.showFastCount)
delay *= 2;
- alert(delay);
if (activeClients > 0)
__myself.showTimer = setTimeout("__myself.show()", delay);
}
-/* $Id: logic.c,v 1.5 2007-04-17 21:25:26 quinn Exp $
+/* $Id: logic.c,v 1.6 2007-04-18 04:07:48 quinn Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
}
wrbuf_rewind(se->wrbuf);
ccl_pquery(se->wrbuf, cn);
+ wrbuf_putc(se->wrbuf, '\0');
if (cl->pquery)
xfree(cl->pquery);
cl->pquery = xstrdup(wrbuf_buf(se->wrbuf));
<title>MasterKey Power Search</title>
<link rel="author" href="http://www.indexdata.dk" />
<link href="css/styles.css" rel="stylesheet" type="text/css" media="screen, all" />
- <script type="text/javascript" src="js/jquery.js"></script>
+ <script type="text/javascript" src="js/jquery.pack.js"></script>
<script type="text/javascript" src="js/pz2.js"></script>
<script type="text/javascript" src="js/pzQuery.js"></script>
<script type="text/javascript" src="js/client.js"></script>