/*
-** $Id: pz2.js,v 1.19 2007-05-21 09:07:43 jakub Exp $
+** $Id: pz2.js,v 1.21 2007-05-23 09:18:10 jakub Exp $
** pz2.js - pazpar2's javascript client library.
*/
}
}
}
+
__myself.recordCallback(record);
}
else
// if it gets here the http return code was 200 (pz2 errors are 417)
// but the response was invalid, it should never occur
- setTimeout("__myself.record(__myself.currRecID)", 1000);
+ setTimeout("__myself.record(__myself.currRecID)", 500);
}
);
},
var paramArr = new Array();
for ( var key in params ) {
- paramArr.push(key + '=' + escape(params[key]));
+ paramArr.push(key + '=' + params[key] );
}
if ( paramArr.length )