Template:2012FR/Form-section/Privacy/Recurring: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
don't think this is used now, but remove parseParams() anyway
Line 12:
<script type="text/javascript">
$(document).ready(function() {
if ( mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-monthly' ||
var paramsOut = parseParams(window.location.href); // create an object with the current querystring parameters
if (paramsOut['form-countryspecific'] == 'Form-countryspecific-monthly' || paramsOut[ mw.util.getParamValue('form-countryspecific']) == 'Form-countryspecific-recurring') {
) {
// We're on a monthly page, show the cancel text
$( // We'#cancel-re on a monthly'). page, show(); the cancel text
$('#cancel-monthly').show();
}
});
</script>