first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
jQuery(function () {
jQuery('#wpml_fix_tp_id_btn').click(function () {
jQuery(this).prop('disabled', true);
jQuery(this).after('<span class="wpml-fix-tp-id-spinner">' + icl_ajxloaderimg + '</span>');
jQuery.ajax({
url : ajaxurl,
type: 'POST',
data: {
job_ids: jQuery('#wpml_fix_tp_id_text').val(),
action : 'wpml-fix-translation-jobs-tp-id',
nonce : jQuery('#wpml-fix-tp-id-nonce').val(),
},
success: function () {
jQuery('#wpml_fix_tp_id_btn').prop('disabled', false);
jQuery('.wpml-fix-tp-id-spinner').remove();
}
});
});
});