Skip to content

Commit

Permalink
[5.2] Fix for: Article cannot be saved successfully on the front-end (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDerumigny authored Jan 17, 2025
1 parent fea4552 commit ecb5151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/media_source/com_content/js/form-edit.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
document.querySelectorAll(`[${buttonDataSelector}]`).forEach((button) => {
button.addEventListener('click', (e) => {
e.preventDefault();
const task = e.target.getAttribute(buttonDataSelector);
const task = button.getAttribute(buttonDataSelector);
submitTask(task);
});
});
Expand Down

0 comments on commit ecb5151

Please sign in to comment.