Submit
Path:
~
/
home
/
getwphos
/
public_html
/
BenjaminMarc2023
/
wp-content
/
plugins
/
woocommerce
/
assets
/
js
/
frontend
/
File Content:
add-payment-method.js
jQuery( function( $ ) { // woocommerce_params is required to continue, ensure the object exists if ( typeof woocommerce_params === 'undefined' ) { return false; } $( '#add_payment_method' ) /* Payment option selection */ .on( 'click init_add_payment_method', '.payment_methods input.input-radio', function() { if ( $( '.payment_methods input.input-radio' ).length > 1 ) { var target_payment_box = $( 'div.payment_box.' + $( this ).attr( 'ID' ) ); if ( $( this ).is( ':checked' ) && ! target_payment_box.is( ':visible' ) ) { $( 'div.payment_box' ).filter( ':visible' ).slideUp( 250 ); if ( $( this ).is( ':checked' ) ) { $( 'div.payment_box.' + $( this ).attr( 'ID' ) ).slideDown( 250 ); } } } else { $( 'div.payment_box' ).show(); } }) // Trigger initial click .find( 'input[name=payment_method]:checked' ).trigger( 'click' ); $( '#add_payment_method' ).on( 'submit', function() { $( '#add_payment_method' ).block({ message: null, overlayCSS: { background: '#fff', opacity: 0.6 } }); }); $( document.body ).trigger( 'init_add_payment_method' ); // Prevent firing multiple requests upon double clicking the buttons in payment methods table $(' .woocommerce .payment-method-actions .button.delete' ).on( 'click' , function( event ) { if ( $( this ).hasClass( 'disabled' ) ) { event.preventDefault(); } $( this ).addClass( 'disabled' ); }); });
Submit
FILE
FOLDER
Name
Size
Permission
Action
add-payment-method.js
1415 bytes
0644
add-payment-method.min.js
905 bytes
0644
add-to-cart-variation.js
28571 bytes
0644
add-to-cart-variation.min.js
13786 bytes
0644
add-to-cart.js
5782 bytes
0644
add-to-cart.min.js
3037 bytes
0644
address-i18n.js
4971 bytes
0644
address-i18n.min.js
2654 bytes
0644
cart-fragments.js
5639 bytes
0644
cart-fragments.min.js
2939 bytes
0644
cart.js
16246 bytes
0644
cart.min.js
7854 bytes
0644
checkout.js
25630 bytes
0644
checkout.min.js
14756 bytes
0644
country-select.js
6239 bytes
0644
country-select.min.js
3408 bytes
0644
credit-card-form.js
588 bytes
0644
credit-card-form.min.js
518 bytes
0644
geolocation.js
3845 bytes
0644
geolocation.min.js
1286 bytes
0644
lost-password.js
159 bytes
0644
lost-password.min.js
132 bytes
0644
password-strength-meter.js
3803 bytes
0644
password-strength-meter.min.js
2031 bytes
0644
price-slider.js
3065 bytes
0644
price-slider.min.js
2138 bytes
0644
single-product.js
10450 bytes
0644
single-product.min.js
6429 bytes
0644
tokenization-form.js
3841 bytes
0644
tokenization-form.min.js
2264 bytes
0644
woocommerce.js
3467 bytes
0644
woocommerce.min.js
2139 bytes
0644
N4ST4R_ID | Naxtarrr