loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'Make new table modal work when editing a issue' (#6431) from JakobDev/forgejo:tablefix into forgejo

[skip ci] due to no related tests.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6431
Reviewed-by: Otto <otto@codeberg.org>

Otto e28bd3c4 93cd2b72

+4 -1
+1 -1
web_src/js/features/common-global.js
··· 357 357 }); 358 358 } 359 359 360 - function initGlobalShowModal() { 360 + export function initGlobalShowModal() { 361 361 // A ".show-modal" button will show a modal dialog defined by its "data-modal" attribute. 362 362 // Each "data-modal-{target}" attribute will be filled to target element's value or text-content. 363 363 // * First, try to query '#target'
+3
web_src/js/features/repo-legacy.js
··· 29 29 import {POST, GET} from '../modules/fetch.js'; 30 30 import {MarkdownQuote} from '@github/quote-selection'; 31 31 import {toAbsoluteUrl} from '../utils.js'; 32 + import {initGlobalShowModal} from './common-global.js'; 32 33 33 34 const {csrfToken} = window.config; 34 35 ··· 470 471 const tabEditor = editContentZone.querySelector('.combo-markdown-editor').querySelector('.tabular.menu > a[data-tab-for=markdown-writer]'); 471 472 tabEditor?.click(); 472 473 } 474 + 475 + initGlobalShowModal(); 473 476 474 477 // Show write/preview tab and copy raw content as needed 475 478 showElem(editContentZone);