Fixes regression of issue edit not working
(cherry picked from commit 8c31b786303a0f6345dc95b243a9d6e127fc29ab)
This commit is contained in:
parent
2024519bb4
commit
84d8c8b777
1 changed files with 2 additions and 2 deletions
|
@ -477,8 +477,8 @@ async function onEditContent(event) {
|
|||
e.preventDefault();
|
||||
saveAndRefresh(dz);
|
||||
});
|
||||
editContentZone.on('ce-quick-submit', () => {
|
||||
editContentZone.find('.save.button').trigger('click');
|
||||
editContentZone.addEventListener('ce-quick-submit', () => {
|
||||
editContentZone.querySelector('.save.button').dispatchEvent(new Event('click'));
|
||||
});
|
||||
} else {
|
||||
comboMarkdownEditor = getComboMarkdownEditor(editContentZone.querySelector('.combo-markdown-editor'));
|
||||
|
|
Loading…
Reference in a new issue