Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228

git-svn-id: http://svn.automattic.com/wordpress/trunk@19266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2011-11-13 02:01:13 +00:00
parent 06c5ce2278
commit 7123026a3b
8 changed files with 102 additions and 82 deletions

View File

@@ -3632,7 +3632,6 @@ abbr.required {
padding: 0 0 0 5px;
}
.media-item .error-div a.dismiss,
.describe-toggle-on,
.describe-toggle-off {
display: block;
@@ -3761,12 +3760,17 @@ abbr.required {
padding: 0;
}
.media-upload-form .media-item.error p {
.media-upload-form .media-item.error p,
.media-item .error-div {
line-height: 16px;
font-size: 12px;
margin: 10px;
padding: 0;
}
.media-item .error-div a.dismiss {
float: right;
}
/*------------------------------------------------------------------------------
14.1 - Media Library