1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 01:57:20 +00:00

Fix various problems (#34708)

* Fix #34707
* Fix dropdown filter handling
* Fix #27014
This commit is contained in:
wxiaoguang
2025-06-13 00:19:24 +08:00
committed by GitHub
parent 65986f423f
commit 8fed27bf6a
5 changed files with 13 additions and 8 deletions

View File

@ -1,5 +1,6 @@
import {toggleElem} from '../../utils/dom.ts';
import {fomanticQuery} from '../../modules/fomantic/base.ts';
import {submitFormFetchAction} from '../common-fetch-action.ts';
function nameHasScope(name: string): boolean {
return /.*[^/]\/[^/].*/.test(name);
@ -70,7 +71,7 @@ export function initCompLabelEdit(pageSelector: string) {
form.reportValidity();
return false;
}
form.dispatchEvent(new Event('submit', {bubbles: true}));
submitFormFetchAction(form);
},
}).modal('show');
};