diff --git a/wire/modules/Process/ProcessProfile/ProcessProfile.js b/wire/modules/Process/ProcessProfile/ProcessProfile.js index 32680b90..8a5a5115 100644 --- a/wire/modules/Process/ProcessProfile/ProcessProfile.js +++ b/wire/modules/Process/ProcessProfile/ProcessProfile.js @@ -12,7 +12,6 @@ $(document).ready(function() { } $("form#ProcessProfile").submit(function() { - console.log('ProcessProfile'); var $inputfields = $(".InputfieldStateChanged.InputfieldPassRequired"); if(!$inputfields.length) return; var $pass = $('#_old_pass'); diff --git a/wire/modules/Process/ProcessProfile/ProcessProfile.min.js b/wire/modules/Process/ProcessProfile/ProcessProfile.min.js index 4e299499..2b784526 100644 --- a/wire/modules/Process/ProcessProfile/ProcessProfile.min.js +++ b/wire/modules/Process/ProcessProfile/ProcessProfile.min.js @@ -1 +1 @@ -$(document).ready(function(){if($(".FieldtypePassword[autocomplete='off']").length){setTimeout(function(){$(".FieldtypePassword[autocomplete='off']").attr("value","").closest(".Inputfield").removeClass("InputfieldStateChanged")},1000)}$("form#ProcessProfile").submit(function(){console.log("ProcessProfile");var b=$(".InputfieldStateChanged.InputfieldPassRequired");if(!b.length){return}var a=$("#_old_pass");if(a.val().length){return}var c=a.closest(".InputfieldPassword");if(c.hasClass("InputfieldStateCollapsed")){setTimeout(function(){c.find(".InputfieldHeader").click()},200)}setTimeout(function(){a.focus()},400);return false})}); \ No newline at end of file +$(document).ready(function(){if($(".FieldtypePassword[autocomplete='off']").length){setTimeout(function(){$(".FieldtypePassword[autocomplete='off']").attr("value","").closest(".Inputfield").removeClass("InputfieldStateChanged")},1000)}$("form#ProcessProfile").submit(function(){var b=$(".InputfieldStateChanged.InputfieldPassRequired");if(!b.length){return}var a=$("#_old_pass");if(a.val().length){return}var c=a.closest(".InputfieldPassword");if(c.hasClass("InputfieldStateCollapsed")){setTimeout(function(){c.find(".InputfieldHeader").click()},200)}setTimeout(function(){a.focus()},400);return false})}); \ No newline at end of file