Adds windowid parameter to applicable commands
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / commands / BytargetCommand.java
index 786ae4c..6fb213e 100644 (file)
@@ -1,5 +1,6 @@
 package com.indexdata.mkjsf.pazpar2.commands;\r
 \r
+import com.indexdata.mkjsf.pazpar2.commands.sp.BytargetCommandSp;\r
 import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;\r
 \r
 /**\r
@@ -25,7 +26,7 @@ public class BytargetCommand extends Pazpar2Command implements ServiceProxyComma
   }\r
 \r
   public ServiceProxyCommand getSp() {\r
-    return this;\r
+    return new BytargetCommandSp(this);\r
   }\r
 \r
   @Override\r