[Koha-bugs] [Bug 35012] Framework item plugins fire twice on Acquisition item blocks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 10 19:54:52 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35012

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #158718|0                           |1
        is obsolete|                            |

--- Comment #13 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 158817
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158817&action=edit
Bug 35012: Prevent Click handler firing twice

test plan:
a) build a new basket + order line using "item create on placing an order"
b) in the item creation dialog (neworderempty.pl) please use the webbrowsers
dev tools to analyze the [...] button next to subfield d (Date acquired) and
inspect the events that get fired by clicking
c) notice the Clicktag_952_subfield_d_* event gets fired twice.
d) apply patch and reload page
e) there should be only 1 click handler left (besides the jquery one), which
points to the Clicktag_952_subfield_* function

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
See also bug 35298. You may have seen that the Focus event of dateaccessioned
did not fire. But that is related to use of Flatpickr in this plugin.
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list