From: Dennis Schafroth Date: Thu, 3 Nov 2011 13:19:07 +0000 (+0100) Subject: Enable blocking on bytarget X-Git-Tag: mobile-beta-1~25^2~2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=8b8537a615839fc6f9c348b21f172d80fc66c765;p=pazpar2-moved-to-github.git Enable blocking on bytarget --- diff --git a/js/pz2.js b/js/pz2.js index 75fd309..ca0d28c 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -629,7 +629,12 @@ pz2.prototype = var context = this; var request = new pzHttpRequest(this.pz2String, this.errorHandler); request.safeGet( - { "command": "bytarget", "session": this.sessionID, "windowid" : window.name}, + { + "command": "bytarget", + "session": this.sessionID, + "block": 1, + "windowid" : window.name + }, function(data) { if ( data.getElementsByTagName("status")[0] .childNodes[0].nodeValue == "OK" ) {