WP-3778: Auto-upload files only if there are no Javascript validation errors.