HEX
Server: Apache
System: Linux beta.alfanet.ee 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: busines1 (1252)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home-ssd1/busines1/www/wp-content/plugins/woocommerce-multilingual/res/js/wcml-attributes.js
jQuery(function($){

    if( $('form>table').size() > 0 ){
        $('.wcml-is-translatable-attr-block tr').insertAfter('form>table tr:nth-child(3)');
    }else{
        $('.wcml-is-translatable-attr-block div').insertAfter('form div:nth-child(3)');
    }

    $('.wcml-is-translatable-attr-block').remove();


    $(document).on('click', '#wcml-is-translatable-attr', function(){

        if( !$(this).is(':checked') && $('#wcml-is-translatable-attr-notice').size()>0 ){

            if ( confirm( $('#wcml-is-translatable-attr-notice').val() ) == false ) {
                $(this).prop("checked", true);
            }
        }
    });

});