Skip to content

Commit

Permalink
Rename imageChosen, documentChosen to chosen
Browse files Browse the repository at this point in the history
  • Loading branch information
tspnn authored and zerolab committed Nov 29, 2022
1 parent 0141ce8 commit 9120739
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ const EditorSynchronisedValueSegment: FunctionComponent<
url: (window as any).chooserUrls.imageChooser,
onload: (window as any).IMAGE_CHOOSER_MODAL_ONLOAD_HANDLERS,
responses: {
imageChosen: function(imageData: any) {
chosen: function(imageData: any) {
saveOverride(
segment,
imageData.id,
Expand Down Expand Up @@ -695,7 +695,7 @@ const EditorSynchronisedValueSegment: FunctionComponent<
url: (window as any).chooserUrls.documentChooser,
onload: (window as any).DOCUMENT_CHOOSER_MODAL_ONLOAD_HANDLERS,
responses: {
documentChosen: function(documentData: any) {
chosen: function(documentData: any) {
saveOverride(
segment,
documentData.id,
Expand Down

0 comments on commit 9120739

Please sign in to comment.