MediaWiki:Resources/landingpage.js: Difference between revisions

Content deleted Content added
last attempt...
change returnto to use LandingCheck
Line 129:
$("#input_amount_other").attr( 'checked', true );
$("#input_amount_other_box").val( otherVal );
/* Change "returnto" field to use LandingCheck. Doing it in JS to try and avoid query string mungling */
var returnToUrl = 'https://wikimediafoundation.org/wiki/Special:LandingCheck?';
returnToUrl += $.param({
landing_page: 'Thank_You',
basic: 'true',
language: language
});
document.paypalcontribution.returnto.value = returnToUrl;
});
</script>