mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 23:24:34 +00:00
Autosave:
- Move the 'Saving post' and 'Draft saved at...' strings from autosaveL10n to postL10n as they are used only there. - Use the custom jQuery events 'before-autosave' and 'after-autosave' to show these messages. - Separate autosave.suspend() for local and server so local autosaves can continue while server autosaves are suspended. - Remove the recently added autosave.server.disable() and use autosave.server.suspend() instead. - Bring back .button.disabled, button-primary.disabled and use .disabled to prevent multiple form submissions. See #25272. git-svn-id: https://develop.svn.wordpress.org/trunk@27038 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -165,8 +165,10 @@ TABLE OF CONTENTS:
|
||||
|
||||
.wp-core-ui .button[disabled],
|
||||
.wp-core-ui .button:disabled,
|
||||
.wp-core-ui .button.disabled,
|
||||
.wp-core-ui .button-secondary[disabled],
|
||||
.wp-core-ui .button-secondary:disabled,
|
||||
.wp-core-ui .button-secondary.disabled,
|
||||
.wp-core-ui .button-disabled {
|
||||
color: #aaa !important;
|
||||
border-color: #ddd !important;
|
||||
@@ -221,7 +223,8 @@ TABLE OF CONTENTS:
|
||||
|
||||
.wp-core-ui .button-primary[disabled],
|
||||
.wp-core-ui .button-primary:disabled,
|
||||
.wp-core-ui .button-primary-disabled {
|
||||
.wp-core-ui .button-primary-disabled,
|
||||
.wp-core-ui .button-primary.disabled {
|
||||
color: #94cde7 !important;
|
||||
background: #298cba !important;
|
||||
border-color: #1b607f !important;
|
||||
|
||||
Reference in New Issue
Block a user