/*
-** $Id: pz2.js,v 1.21 2007-05-23 09:18:10 jakub Exp $
+** $Id: pz2.js,v 1.23 2007-06-01 08:06:17 jakub Exp $
** pz2.js - pazpar2's javascript client library.
*/
var context = this;
this.request.open( 'GET', getUrl, true );
+ this.request.setRequestHeader('Accept-Charset', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7');
this.request.onreadystatechange = function () {
context._handleResponse();
}
{
var ccl = '';
if( this.simpleQuery != '')
- ccl = '"'+this.simpleQuery+'"';
+ ccl = this.simpleQuery;
for(var i = 0; i < this.advTerms.length; i++)
{
if (ccl != '') ccl = ccl + ' and ';