mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
update email
This commit is contained in:
parent
18066b3b8e
commit
00d7362b88
@ -235,10 +235,11 @@
|
||||
$('#amount', page).val(pkg.price);
|
||||
|
||||
$('#regPrice', page).html("<h3>" + Globalize.translate('ValuePriceUSD').replace('{0}', "$" + pkg.price.toFixed(2)) + "</h3>");
|
||||
$('#ppButton', page).hide();
|
||||
|
||||
var url = "http://mb3admin.com/admin/service/user/getPayPalEmail?id=" + pkg.owner;
|
||||
|
||||
fetch(url, { mode: 'no-cors' }).then(function (response) {
|
||||
fetch(url).then(function (response) {
|
||||
|
||||
return response.json();
|
||||
|
||||
@ -246,9 +247,8 @@
|
||||
|
||||
if (dev.payPalEmail) {
|
||||
$('#payPalEmail', page).val(dev.payPalEmail);
|
||||
$('#ppButton', page).show();
|
||||
|
||||
} else {
|
||||
$('#ppButton', page).hide();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user