mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix for saving change to WePay settings
This commit is contained in:
parent
d9b4dced25
commit
a6cbe6f795
@ -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…
Reference in New Issue
Block a user