fixing window binding
This commit is contained in:
@@ -36,7 +36,7 @@ public class PaymentGatewayPaymentSense implements PaymentGateway {
|
||||
|
||||
Window getPaymentWindow() {
|
||||
for (Window window : Window.getWindows()) {
|
||||
if (window.isActive()) {
|
||||
if (window instanceof JPaymentSelectReceipt) {
|
||||
return window;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ public class PaymentGatewayTeya implements PaymentGateway {
|
||||
|
||||
Window getPaymentWindow() {
|
||||
for (Window window : Window.getWindows()) {
|
||||
if (window.isActive()) {
|
||||
if (window instanceof JPaymentSelectReceipt) {
|
||||
return window;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user