[Koha-bugs] [Bug 35062] addbiblio: Allow a framework plugin to add class to prevent submit during ajax call
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 12 12:43:01 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35062
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #157873|0 |1
is obsolete| |
--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 160936
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160936&action=edit
Bug 35062: Add class plugin-blocks-submit in addbiblio
Adding this condition in Check() allows you to prevent form submittal
during e.g. an ajax call in a framework plugin.
The plugin adds and removes the class on the corresponding html
element during processing.
Test plan:
Since we do not have a plugin using this class yet, nothing changes now.
Verify that you can still click Save in addbiblio while using standard
plugins. In other words: no change in behavior.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list