]> git.koha-community.org Git - koha.git/commit
Bug 35062: Add class plugin-blocks-submit in addbiblio
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 16 Oct 2023 10:08:25 +0000 (12:08 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Mar 2024 09:35:29 +0000 (10:35 +0100)
commitdf2cad62b0bdd0ec778dadf62904785bf1bf6b9c
treefc48fef9d6f2a924a0cbb54f1525c4f24397db21
parent04624f4433ef04107de4025cae4982e1dce34291
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@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt