var context = this;
var request = new pzHttpRequest(this.pz2String, this.errorHandler);
request.safeGet(
- { "command": "ping", "session": this.sessionID },
+ { "command": "ping", "session": this.sessionID, "windowId" : self.window.name },
function(data) {
if ( data.getElementsByTagName("status")[0]
.childNodes[0].nodeValue == "OK" ) {
else
var start = 0;
- var searchParams = {
- "command": "search",
- "query": this.currQuery,
- "session": this.sessionID
+ var searchParams = {
+ "command": "search",
+ "query": this.currQuery,
+ "session": this.sessionID,
+ "windowId" : self.window.name
};
if (filter !== undefined)
- searchParams["filter"] = filter;
+ searchParams["filter"] = filter;
// copy additional parmeters, do not overwrite
if (addParamsArr != undefined) {
var context = this;
var request = new pzHttpRequest(this.pz2String, this.errorHandler);
request.safeGet(
- { "command": "stat", "session": this.sessionID },
+ { "command": "stat", "session": this.sessionID, "windowId" : self.window.name },
function(data) {
if ( data.getElementsByTagName("stat") ) {
var activeClients =
"num": this.currentNum,
"sort": this.currentSort,
"block": 1,
- "type": this.showResponseType
+ "type": this.showResponseType,
+ "windowId" : self.window.name
},
function(data, type) {
var show = null;
var recordParams = {
"command": "record",
"session": this.sessionID,
- "id": this.currRecID
+ "id": this.currRecID,
+ "windowId" : self.window.name
};
this.currRecOffset = null;
{
"command": "termlist",
"session": this.sessionID,
- "name": this.termKeys
+ "name": this.termKeys,
+ "windowId" : self.window.name
},
function(data) {
if ( data.getElementsByTagName("termlist") ) {
var context = this;
var request = new pzHttpRequest(this.pz2String, this.errorHandler);
request.safeGet(
- { "command": "bytarget", "session": this.sessionID },
+ { "command": "bytarget", "session": this.sessionID, "windowId" : self.window.name},
function(data) {
if ( data.getElementsByTagName("status")[0]
.childNodes[0].nodeValue == "OK" ) {