1. JavaScript / Говнокод #6627

    +167

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    9. 9
    /* DO NOT UNCOMMENT THIS CODE AGAIN.  THIS IS THE 3rd TIME I'VE HAD TO REMOVE THIS.
        if($("form#purchase_form").length) {
            var currentPaymentValue = $("input[name='paymentFormOverride']:checked", "#purchase_form").val();
            if (currentPaymentValue == 'cc')
                $("#pp_payment_method").click(function(){paymentRedirect('pp')});
            else
                $("#cc_payment_method").click(function(){paymentRedirect('cc')});
        }
    	*/

    Чоткая обратная связь :))

    Запостил: kovel, 11 Мая 2011

    Комментарии (5) RSS

    Добавить комментарий