1(function($) { 2 3 $( '#lostpasswordform' ).submit( function( event ) { 4 5 var text = $( '#somfrp_user_info' ).val(); 6 7 if ( ! text ) { 8 sompassFieldInvalid( $( '#lostpasswordform #somfrp_user_info' ) ) 9 event.preventDefault(); 10 return false; 11 } 12 13 }); 14 15 16 $( '#resetpasswordform' ).submit( function( event ) { 17 18 var new_pass = $( '#som_new_user_pass' ).val(); 19 var new_pass2 = $( '#som_new_user_pass_again' ).val(); 20 21 if ( new_pass && new_pass2 ) { 22 sompass_posting_reset(); 23 } 24 25 }); 26 27 function sompassFieldInvalid( element ) { 28 // 29 } 30 31 function sompass_posting_reset() { 32 $( '#resetpasswordform #reset-pass-submit' ).attr( 'disabled', true ); 33 } 34 35 function sompass_posting() { 36 $( '#lostpasswordform #reset-pass-submit' ).attr( 'disabled', true ); 37 } 38 39 $( '#lostpasswordform #somfrp_user_info' ).on('input', function() { 40 // 41 }); 42 43})( jQuery );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.