mirror of
https://github.com/processwire/processwire.git
synced 2025-08-21 14:02:59 +02:00
Remove console.log from ProcessProfile.js
This commit is contained in:
@@ -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');
|
||||
|
@@ -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})});
|
||||
$(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})});
|
Reference in New Issue
Block a user