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:
@ -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');
|
||||
};
|
||||
|
Reference in New Issue
Block a user