]> git.koha-community.org Git - koha.git/commit
Bug 30746: Fix JS error on opac-memberentry
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 1 Jun 2022 12:54:34 +0000 (14:54 +0200)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Tue, 21 Jun 2022 14:01:38 +0000 (16:01 +0200)
commit2d2cff6fc691b185f34c691b7daaa87f88b89d72
tree7cc3e2d129aacdcbeab78e712efebbf5b534be9a
parent9c0a8407d56a75447d4ed29dcecd6009d72bce54
Bug 30746: Fix JS error on opac-memberentry

Empty PatronSelfRegistrationBorrowerMandatoryField and PatronSelfRegistrationBorrowerUnwantedField
Go to opac-memberentry.pl
Notice the JS error
  Uncaught TypeError: j is undefined
Apply this patch
Go to opac-memberentry.pl
=> no JS error
Fill the pref with some values
Go to opac-memberentry.pl
=> Confirm that the fields you marked as mandatory as flagged accordinly
on the UI

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c699f05970bbef78ec07e16eac5991cd72f9b87a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ffddfb86aa5f6943012f47ee651dce9ea0891165)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt