File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -4869,7 +4869,7 @@ async function handleEditServerFormSubmit(e) {
4869
4869
}
4870
4870
}
4871
4871
4872
- async function handleEditResourceFormSubmit ( e ) {
4872
+ async function handleEditResFormSubmit ( e ) {
4873
4873
e . preventDefault ( ) ;
4874
4874
const form = e . target ;
4875
4875
const formData = new FormData ( form ) ;
@@ -5481,10 +5481,7 @@ function setupFormHandlers() {
5481
5481
5482
5482
const editResourceForm = safeGetElement ( "edit-resource-form" ) ;
5483
5483
if ( editResourceForm ) {
5484
- editResourceForm . addEventListener (
5485
- "submit" ,
5486
- handleEditResourceFormSubmit ,
5487
- ) ;
5484
+ editResourceForm . addEventListener ( "submit" , handleEditResFormSubmit ) ;
5488
5485
editResourceForm . addEventListener ( "click" , ( ) => {
5489
5486
if ( getComputedStyle ( editResourceForm ) . display !== "none" ) {
5490
5487
refreshEditors ( ) ;
You can’t perform that action at this time.
0 commit comments