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