praiadeseselle/wire/modules/LanguageSupport/ProcessLanguageTranslator.min.js

1 line
579 B
JavaScript
Raw Normal View History

2022-03-08 15:55:41 +01:00
$(document).ready(function(){$("select.TranslationFileSelect").dblclick(function(){$("#submit_add").click()});var a=$("input#untranslated");if(a.length){a.click(function(){if($(this).is(":checked")){$(".Inputfield.translated").fadeOut()}else{$(".Inputfield.translated").fadeIn()}});if(a.is(":checked")){$(".Inputfield.translated").hide()}$(":input.translatable").blur(function(){if($(this).val().length){$(this).closest(".Inputfield").removeClass("untranslated").addClass("translated")}else{$(this).closest(".Inputfield").removeClass("translated").addClass("untranslated")}})}});