https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39567 Bug ID: 39567 Summary: Move form-submit js into global js Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: emily.lamancusa@montgomerycountymd.gov QA Contact: testopia@bugs.koha-community.org The form-submit JS is required for submitting stateful forms in some situations, as of JS16. However, it's difficult to use in .inc files, because all scripts need to be included at the end of the template (JS12), and includes are usually processed earlier in the template. This means that if an include needs the form-submit JS, the JS needs to be separately added to each template that uses the original include. Moving the form-submit JS into the global js would make the above situation a lot cleaner, and it makes sense to make it available to all templates anyway given its inclusion in the coding guidelines. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.