Make new table modal work when editing a issue
This commit is contained in:
parent
a302506095
commit
1600255c26
2 changed files with 4 additions and 1 deletions
|
@ -29,6 +29,7 @@ import {attachRefIssueContextPopup} from './contextpopup.js';
|
|||
import {POST, GET} from '../modules/fetch.js';
|
||||
import {MarkdownQuote} from '@github/quote-selection';
|
||||
import {toAbsoluteUrl} from '../utils.js';
|
||||
import {initGlobalShowModal} from './common-global.js';
|
||||
|
||||
const {csrfToken} = window.config;
|
||||
|
||||
|
@ -471,6 +472,8 @@ async function onEditContent(event) {
|
|||
tabEditor?.click();
|
||||
}
|
||||
|
||||
initGlobalShowModal();
|
||||
|
||||
// Show write/preview tab and copy raw content as needed
|
||||
showElem(editContentZone);
|
||||
hideElem(renderContent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue