1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

updated nuget

This commit is contained in:
Luke Pulverenti 2014-09-03 21:44:40 -04:00
parent de7c02af20
commit f1e3024f71
2 changed files with 19 additions and 0 deletions

View file

@ -44,6 +44,7 @@
}
var lifeTimeAmount = 30;
var dailyAmount = 1;
var monthlyAmount = 3;
var yearlyAmount = 20;
function getDonationAmount(page) {
@ -59,6 +60,9 @@
if (type == 'monthly') {
return monthlyAmount;
}
if (type == 'daily') {
return dailyAmount;
}
// lifetime
return lifeTimeAmount;
@ -153,6 +157,13 @@
setItemNumber(page, 'MBSClubMonthly');
$('#oneTimeDescription').hide();
}
else if (donationType == 'daily') {
$('.fldOneTimeDonationAmount', page).hide();
addRecurringFields('D', page);
setItemNumber(page, 'MBSClubDaily');
$('#oneTimeDescription').hide();
}
else {
// Lifetime
$('.fldOneTimeDonationAmount', page).hide();
@ -173,6 +184,7 @@
$('.lifetimeAmount', page).html('$' + lifeTimeAmount);
$('.monthlyAmount', page).html('$' + monthlyAmount);
$('.dailyAmount', page).html('$' + dailyAmount);
$('.yearlyAmount', page).html('$' + yearlyAmount);
$('#paypalReturnUrl', page).val(ApiClient.getUrl("supporterkey.html"));