w/extensions/FlaggedRevs/frontend/modules/ext.flaggedRevs.review.js
/*
	 * Unlock review form from submissions (using after AJAX requests)
	 */
Unlock review form from submissions (using after AJAX requests)
Unlock review form from submissions ( using after AJAX requests )
function unlockReviewForm( form ) {
		var i, inputs = form.find( 'input' );
		for ( i = 0; i < inputs.length; i++ ) {
			if ( inputs.eq( i ).prop( 'type' ) !== 'submit' ) { 
				inputs.eq( i ).prop( 'disabled', false );
			} else {
				inputs.eq( i ).blur(); 
			}
		}
		form.find( 'textarea, select' ).prop( 'disabled', false );
	}
function unlockReviewForm ( form ) { var i , inputs = form . find ( 'input' ) ; for ( i = 0 ; i < inputs . length ; i ++ ) { if ( inputs . eq ( i ) . prop ( 'type' ) !== 'submit' ) { inputs . eq ( i ) . prop ( 'disabled' , false ) ; } else { inputs . eq ( i ) . blur ( ) ; } } form . find ( 'textarea, select' ) . prop ( 'disabled' , false ) ; }
Unlock review form from submissions (using after AJAX requests)
Unlock review form from submissions ( using after AJAX requests )
// not all buttons can be enabled // focus off element (bug 24013)