Submit
Path:
~
/
home
/
getwphos
/
public_html
/
almajd14
/
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' ); }); });
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
test
---
0755
a8c-address-autocomplete-service.js
13187 bytes
0644
a8c-address-autocomplete-service.min.js
5065 bytes
0644
account-i18n.js
712 bytes
0644
account-i18n.min.js
179 bytes
0644
add-payment-method.js
1415 bytes
0644
add-payment-method.min.js
905 bytes
0644
add-to-cart-variation.js
30253 bytes
0644
add-to-cart-variation.min.js
14751 bytes
0644
add-to-cart.js
8414 bytes
0644
add-to-cart.min.js
4035 bytes
0644
address-autocomplete.js
24206 bytes
0644
address-autocomplete.min.js
8330 bytes
0644
address-i18n.js
5053 bytes
0644
address-i18n.min.js
2750 bytes
0644
back-in-stock-form.js
3530 bytes
0644
back-in-stock-form.min.js
1853 bytes
0644
cart-fragments.js
5639 bytes
0644
cart-fragments.min.js
2939 bytes
0644
cart.js
20962 bytes
0644
cart.min.js
9878 bytes
0644
checkout.js
33724 bytes
0644
checkout.min.js
18099 bytes
0644
country-select.js
6367 bytes
0644
country-select.min.js
3494 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
order-attribution.js
6721 bytes
0644
order-attribution.min.js
2346 bytes
0644
password-strength-meter.js
4216 bytes
0644
password-strength-meter.min.js
2190 bytes
0644
price-slider.js
3065 bytes
0644
price-slider.min.js
2138 bytes
0644
single-product.js
16938 bytes
0644
single-product.min.js
9694 bytes
0644
tokenization-form.js
3841 bytes
0644
tokenization-form.min.js
2264 bytes
0644
woocommerce.js
6913 bytes
0644
woocommerce.min.js
3915 bytes
0644
wp-consent-api-integration.js
727 bytes
0644
wp-consent-api-integration.min.js
435 bytes
0644
N4ST4R_ID | Naxtarrr