mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 18:24:14 +01:00
Backport #26602 by @wxiaoguang
Otherwise, "pasted" content won't update the UI.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit c99374b151
)
This commit is contained in:
parent
98820fe4f2
commit
b31c44894e
1 changed files with 3 additions and 3 deletions
|
@ -15,9 +15,9 @@ export function initRepoMigration() {
|
||||||
checkAuth();
|
checkAuth();
|
||||||
setLFSSettingsVisibility();
|
setLFSSettingsVisibility();
|
||||||
|
|
||||||
$user.on('keyup', () => {checkItems(false)});
|
$user.on('input', () => {checkItems(false)});
|
||||||
$pass.on('keyup', () => {checkItems(false)});
|
$pass.on('input', () => {checkItems(false)});
|
||||||
$token.on('keyup', () => {checkItems(true)});
|
$token.on('input', () => {checkItems(true)});
|
||||||
$mirror.on('change', () => {checkItems(true)});
|
$mirror.on('change', () => {checkItems(true)});
|
||||||
$('#lfs_settings_show').on('click', () => { showElem($lfsEndpoint); return false });
|
$('#lfs_settings_show').on('click', () => { showElem($lfsEndpoint); return false });
|
||||||
$lfs.on('change', setLFSSettingsVisibility);
|
$lfs.on('change', setLFSSettingsVisibility);
|
||||||
|
|
Loading…
Reference in a new issue