Fix for saving change to WePay settings
This commit is contained in:
parent
93aa212a07
commit
c2d03a59c6
1 changed files with 7 additions and 5 deletions
|
|
@ -298,11 +298,13 @@
|
|||
$('.secondary-gateway').show();
|
||||
}
|
||||
|
||||
if (primaryId == {{ GATEWAY_WEPAY }}) {
|
||||
$('.save-button').prop('disabled', true);
|
||||
} else {
|
||||
$('.save-button').prop('disabled', false);
|
||||
}
|
||||
@if (! $accountGateway)
|
||||
if (primaryId == {{ GATEWAY_WEPAY }}) {
|
||||
$('.save-button').prop('disabled', true);
|
||||
} else {
|
||||
$('.save-button').prop('disabled', false);
|
||||
}
|
||||
@endif
|
||||
|
||||
var val = primaryId || secondaryId;
|
||||
$('.gateway-fields').hide();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue