mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 01:57:20 +00:00
Validate hex colors when creating/editing labels (#34623)
Resolves #34618. --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@ -70,7 +70,7 @@ export function initCompLabelEdit(pageSelector: string) {
|
||||
form.reportValidity();
|
||||
return false;
|
||||
}
|
||||
form.submit();
|
||||
form.dispatchEvent(new Event('submit', {bubbles: true}));
|
||||
},
|
||||
}).modal('show');
|
||||
};
|
||||
|
Reference in New Issue
Block a user