Template:2011FR/Form-section-links: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 44: Line 44:
if (paramsOut['form-countryspecific'] == 'Form-countryspecific-monthly') {
if (paramsOut['form-countryspecific'] == 'Form-countryspecific-monthly') {
// We're on a monthly page, fix up the onetime link and show that instead
// We're on a monthly page, fix up the onetime link and show that instead
paramsOut['form-countryspecific'] = 'Form-countryspecific-default';
paramsOut['form-countryspecific'] = 'Form-countryspecific-control';
document.getElementById('onetime-link').href = baseURL + $.param(paramsOut);
document.getElementById('onetime-link').href = baseURL + $.param(paramsOut);
$('#monthly-link').hide();
$('#monthly-link').hide();

Revision as of 00:59, 26 January 2012