Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit d3166d4

Browse files
committed
Add condition to check if original data has customize_changeset_status in prefilter for editbox auto save.
1 parent 4b69f1f commit d3166d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/customize-snapshots.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@
11091109
return;
11101110
}
11111111

1112-
if ( 'customize_save' === originalOptions.data.action && options.data ) {
1112+
if ( 'customize_save' === originalOptions.data.action && options.data && originalOptions.data.customize_changeset_status ) {
11131113
options.data = removeParam( options.data, 'customize_changeset_status' );
11141114
snapshot.editBoxAutoSaveTriggered = false;
11151115
}

0 commit comments

Comments
 (0)