Skip to content

Commit

Permalink
trigger change event
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Oct 3, 2024
1 parent 1bdb7ab commit 60a0424
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plone/app/multilingual/browser/javascript/babel_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@
// set value of textarea
target_el.value = text_target;
}
// need to trigger "change" event to make validation (and tiny) happy
$(target_el).trigger("change");
});

orig_field.prepend(translator_widget);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

#babel-edit #frame-content .selected .translator-widget {
display:block;
cursor: pointer;
}

#babel-edit .richtext-field {
Expand Down

0 comments on commit 60a0424

Please sign in to comment.