Ticket #851: 851.diff
File 851.diff, 705 bytes (added by , 8 years ago) |
---|
-
wordpress.org/public_html/style/trac/trac-security.js
36 36 37 37 function show_box() { 38 38 // We have a potential problem here 39 submit.prop( 'disabled', true ); 39 40 // disable submit only if the box isn't already checked 41 if ( false === jQuery('#security-question input').is(':checked') ){ 42 submit.prop( 'disabled', true ); 43 } 44 40 45 if ( $( '#security-question' ).length !== 0 ) { 41 46 // We've already created the checkbox 42 47 $( '#security-question' ).show();