Enable blocking on bytarget
authorDennis Schafroth <dennis@indexdata.com>
Thu, 3 Nov 2011 13:19:07 +0000 (14:19 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 3 Nov 2011 13:19:07 +0000 (14:19 +0100)
js/pz2.js

index 75fd309..ca0d28c 100644 (file)
--- 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" ) {