Remove tab characters.
This commit is contained in:
parent
6e49d079da
commit
667a54e045
1 changed files with 10 additions and 10 deletions
|
@ -101,9 +101,9 @@ el.attachEvent('on'+ev, function() {handler.apply(el);});
|
||||||
}).appendTo($form);
|
}).appendTo($form);
|
||||||
$form.attr({action: requestBinURL});
|
$form.attr({action: requestBinURL});
|
||||||
$form.get(0).submit();
|
$form.get(0).submit();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.log(response.status);
|
console.log(response.status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//alert('allo?');
|
//alert('allo?');
|
||||||
|
@ -136,13 +136,13 @@ our $75,000 goal.</p>
|
||||||
<!-- Google Checkout start -->
|
<!-- Google Checkout start -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function validateAmount(amount){
|
function validateAmount(amount){
|
||||||
if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
|
if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
|
||||||
return true;
|
return true;
|
||||||
}else{
|
}else{
|
||||||
alert('You must enter a valid donation.');
|
alert('You must enter a valid donation.');
|
||||||
amount.focus();
|
amount.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<form action="https://checkout.google.com/cws/v2/Donations/622836985124940/checkoutForm" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" onSubmit="return validateAmount(this.item_price_1)" target="_top">
|
<form action="https://checkout.google.com/cws/v2/Donations/622836985124940/checkoutForm" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" onSubmit="return validateAmount(this.item_price_1)" target="_top">
|
||||||
|
|
Loading…
Reference in a new issue