Skip to content

Commit

Permalink
Use last form at the page to prevent issues with modal
Browse files Browse the repository at this point in the history
  • Loading branch information
gumbarros committed May 28, 2024
1 parent d24501b commit 6ae2a23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Web/Scripts/MasterDataForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
if(mdForm)
return mdForm;

return document.forms[0];
return document.forms[document.forms.length-1];
}
2 changes: 1 addition & 1 deletion src/Web/wwwroot/js/jjmasterdata/jjmasterdata.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Web/wwwroot/js/jjmasterdata/jjmasterdata.js.map

Large diffs are not rendered by default.

0 comments on commit 6ae2a23

Please sign in to comment.