HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/coolswim/wp-content/plugins/woocommerce-multilingual/res/js/wcml-setup.js
var WCML_Setup = WCML_Setup || {};

jQuery( function($){

    WCML_Setup.init = function(){

        $(function() {

            $('.wcml-setup-form').on( 'click', 'a.submit', function(){

                var form = $(this).closest('form');
                form.attr('action', $(this).attr('href') );
                if (form.get(0).checkValidity()) {
                    form.submit();
                } else {
                    form.get(0).reportValidity();
                }
                return false;

            });

        });

    }

    WCML_Setup.init();

});