Press This:

- Show a spinner while saving a post.
- Do not redirect after saving a draft.
- Make the unidentified error message clearer.
Fixes #31875.

git-svn-id: https://develop.svn.wordpress.org/trunk@31992 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2015-04-03 01:33:30 +00:00
parent a0bd96bafb
commit eacf52a68a
4 changed files with 69 additions and 32 deletions
+27
View File
@@ -1363,6 +1363,33 @@ html {
margin: 0 auto;
}
.spinner {
height: 20px;
width: 20px;
display: inline-block;
visibility: hidden;
background: url(../images/spinner.gif) no-repeat center;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
opacity: 0.7;
filter: alpha(opacity=70);
line-height: 30px;
vertical-align: baseline;
}
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.spinner {
background-image: url(../images/spinner-2x.gif);
}
}
.spinner.is-visible {
visibility: visible;
}
/* Make the text inside the editor textarea white. Prevents a "flash" on loading the page */
#pressthis {
color: #fff;