| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mimradmin/www/wp-content/plugins/woocommerce-old/assets/js/frontend/ |
Upload File : |
jQuery(function(t){if("undefined"==typeof woocommerce_params)return!1;var e=t("#add_payment_method");function n(){return{validate:function(){return new Promise(function(t){t({hasError:!1})})},submit:function(){e.trigger("submit")}}}t(document.body).on("wc_custom_place_order_button_registered",function(t,e){wc.customPlaceOrderButton.__maybeShow(e,n())}),e.on("click init_add_payment_method",".payment_methods input.input-radio",function(){if(t(".payment_methods input.input-radio").length>1){var e=t("div.payment_box."+t(this).attr("ID"));t(this).is(":checked")&&!e.is(":visible")&&(t("div.payment_box").filter(":visible").slideUp(250),t(this).is(":checked")&&t("div.payment_box."+t(this).attr("ID")).slideDown(250))}else t("div.payment_box").show();wc.customPlaceOrderButton.__maybeShow(t(this).val(),n())});var i=e.find('input[name="payment_method"]:checked');i.length&&wc.customPlaceOrderButton.__maybeHideDefaultButtonOnInit(i.val()),e.find("input[name=payment_method]:checked").trigger("click"),e.on("submit",function(){e.block({message:null,overlayCSS:{background:"#fff",opacity:.6}})}),t(document.body).trigger("init_add_payment_method"),t(" .woocommerce .payment-method-actions .button.delete").on("click",function(e){t(this).hasClass("disabled")&&e.preventDefault(),t(this).addClass("disabled")})});