Index: src/wp-admin/includes/ajax-actions.php
===================================================================
--- src/wp-admin/includes/ajax-actions.php	(revision 42428)
+++ src/wp-admin/includes/ajax-actions.php	(working copy)
@@ -2759,8 +2759,9 @@
 		wp_send_json_error();
 	}
 
-	$changes = $_REQUEST['changes'];
-	$post    = get_post( $id, ARRAY_A );
+	$changes 	= $_REQUEST['changes'];
+	$post    	= get_post( $id, ARRAY_A );
+	$json_data 	= array();
 
 	if ( 'attachment' != $post['post_type'] ) {
 		wp_send_json_error();
@@ -2771,7 +2772,16 @@
 	}
 
 	if ( isset( $changes['title'] ) ) {
-		$post['post_title'] = $changes['title'];
+		if ( isset( $changes['title'] ) ) {
+			if ( ! empty( trim( $changes['title'] ) ) ) {
+				$post['post_title'] = $changes['title'];
+			} else {
+				$attachment_url		= ( isset( $post['attachment_url'] ) ) ? $post['attachment_url'] : $post['guid'];
+				$title				= preg_replace( '/\.\w+$/', '', wp_basename( $attachment_url ) );
+				$post['post_title']	= $title;
+				$json_data			= $title;
+			}
+		}
 	}
 
 	if ( isset( $changes['caption'] ) ) {
@@ -2819,7 +2829,7 @@
 		wp_update_post( $post );
 	}
 
-	wp_send_json_success();
+	wp_send_json_success( $json_data );
 }
 
 /**
