]> git.koha-community.org Git - koha.git/commit
Bug 16457: (follow-up) Enable click event on dynamically-created elements
authorOwen Leonard <oleonard@myacpl.org>
Tue, 24 Mar 2020 12:14:21 +0000 (12:14 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 26 Mar 2020 12:03:42 +0000 (12:03 +0000)
commit0d0ec2d414ffd37ddaac67b94e8406ba6bcd245f
tree4c6b78e5539652893e81a938af93fe1793f0a3cd
parent2f998ab38d213ceb8868380a8042c05e41209deb
Bug 16457: (follow-up) Enable click event on dynamically-created elements

This patch moves the click handler for patron attribute actions ("new",
"clear") from the links themselves to the container. This allows jQuery
to correctly target dynamically-created copies of the links.

To test you should have extended patron attributes enabled and you
should have some repeatable attributes defined.

 - Create or edit a patron record
 - In the "Additional attributes and identifiers" section, test the
   "Clear" and "New" links. Confirm that the controls work with both the
   original instance of the field and those created by clicking "New."

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt