Changeset - f7f6f2b9a029
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 years ago 2013-12-06 22:45:56
Forgot to remove Google Checkout from campaign page.
1 file changed with 0 insertions and 39 deletions:
0 comments (0 inline, 0 general)
Show inline comments
@@ -240,45 +240,6 @@ evbind(document.getElementById('bank-account-form'), 'submit',

Other donation methods:
<div class="toggle-unit">
    <h4 class="toggle-control" data-text="Google Checkout" 
    data-expanded-text="Google Checkout:">Google Checkout</h4>
    <div class="toggle-content">
<!-- Google Checkout start -->
<script type="text/javascript"> 
function validateAmount(amount){
    if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
        return true;
        alert('You must enter a valid donation.');
        return false;
<form action="" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" onSubmit="return validateAmount(this.item_price_1)" target="_top">
    <input name="item_name_1" type="hidden" value="Directed Donation for Conservancy's NPO accounting software project"/>
    <input name="item_description_1" type="hidden" value="This donation to the Software Freedom Conservancy, Inc. is directed toward Conservancy's NPO accounting software project.  Conservancy is a 501(c)(3) charity in New York."/>
    <input name="item_quantity_1" type="hidden" value="1"/>
    <input name="item_currency_1" type="hidden" value="USD"/>
    <input name="item_is_modifiable_1" type="hidden" value="true"/>
    <input name="item_min_price_1" type="hidden" value="6.0"/>
    <input name="item_max_price_1" type="hidden" value="25000.0"/>
    <input name="_charset_" type="hidden" value="utf-8"/>
    <table cellpadding="5" cellspacing="0" width="1%">
            <td align="right" valign="top" style="padding-top:9px;" nowrap="nowrap" width="1%">&#x24; <input id="item_price_1" name="item_price_1" onfocus="'black'; this.value='';" size="6" type="text" value="250.00"/>
            <td align="left" width="1%">
                <input alt="Donate" src=";w=115&amp;h=50&amp;style=trans&amp;variant=text&amp;loc=en_US" type="image"/>
<!-- Google Checkout end -->
    </div><!-- /.toggle-content -->
</div><!-- /.toggle.unit -->

<div class="toggle-unit">
    <h4 class="toggle-control" data-text="Wire Transfer" 
    data-expanded-text="Wire Transfer:">Wire Transfer</h4>
0 comments (0 inline, 0 general)