update text
This commit is contained in:
parent
94a5cf7549
commit
ee8e4e5e0a
87 changed files with 1815 additions and 2444 deletions
|
@ -182,40 +182,6 @@
|
|||
}
|
||||
},
|
||||
|
||||
addRecurringFields: function (page, period) {
|
||||
|
||||
var form = page.querySelector('.supporterForm');
|
||||
|
||||
// Add recurring fields to form
|
||||
$("<input type='hidden' name='a3' class='pprecurring' />")
|
||||
.attr('value', $('#donateAmt', page).val())
|
||||
.appendTo(form);
|
||||
|
||||
$("<input type='hidden' name='p3' value='1' class='pprecurring' />")
|
||||
.appendTo(form);
|
||||
|
||||
$("<input type='hidden' name='t3' value='" + period + "' class='pprecurring' />")
|
||||
.appendTo(form);
|
||||
|
||||
$("<input type='hidden' name='src' value='1' class='pprecurring' />")
|
||||
.appendTo(form);
|
||||
|
||||
$("<input type='hidden' name='sra' value='1' class='pprecurring' />")
|
||||
.appendTo(form);
|
||||
|
||||
//change command for subscriptions
|
||||
$('#ppCmd', page).val('_xclick-subscriptions');
|
||||
|
||||
Events.trigger(form, 'create');
|
||||
|
||||
},
|
||||
|
||||
initSupporterForm: function (page) {
|
||||
|
||||
$('.supporterForm', page).attr('action', 'https://www.paypal.com/cgi-bin/webscr');
|
||||
$('.recurringSubscriptionCancellationHelp', page).html(Globalize.translate('LabelRecurringDonationCanBeCancelledHelp'));
|
||||
},
|
||||
|
||||
validateFeature: function (name) {
|
||||
|
||||
var deferred = DeferredBuilder.Deferred();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue