Skip to content

Commit

Permalink
Applied changes from wagtail-nest#35
Browse files Browse the repository at this point in the history
  • Loading branch information
coredumperror committed Mar 7, 2023
1 parent 298142f commit 78d7c88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
url: window.chooserUrls.documentChooser,
onload: DOCUMENT_CHOOSER_MODAL_ONLOAD_HANDLERS,
responses: {
documentChosen: function (docData) {
chosen: function (docData) {
var link;

link = document.createElement('a');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
url: window.chooserUrls.imageChooser + '?select_format=true',
onload: IMAGE_CHOOSER_MODAL_ONLOAD_HANDLERS,
responses: {
imageChosen: function (imageData) {
chosen: function (imageData) {
var elem;

elem = $(imageData.html).get(0);
Expand Down

0 comments on commit 78d7c88

Please sign in to comment.