mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Customize: Wait for processing state to clear before starting to captureSettingModifiedDuringSave.
See #32941. Fixes #40729. git-svn-id: https://develop.svn.wordpress.org/trunk@40627 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4420,11 +4420,12 @@
|
||||
function captureSettingModifiedDuringSave( setting ) {
|
||||
modifiedWhileSaving[ setting.id ] = true;
|
||||
}
|
||||
api.bind( 'change', captureSettingModifiedDuringSave );
|
||||
|
||||
submit = function () {
|
||||
var request, query, settingInvalidities = {}, latestRevision = api._latestRevision;
|
||||
|
||||
api.bind( 'change', captureSettingModifiedDuringSave );
|
||||
|
||||
/*
|
||||
* Block saving if there are any settings that are marked as
|
||||
* invalid from the client (not from the server). Focus on
|
||||
|
||||
Reference in New Issue
Block a user