]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 17 Jun 2022 20:11:05 +0000 (20:11 +0000)
commitffddfb86aa5f6943012f47ee651dce9ea0891165
tree5730a6d82c06c6d148a5245567949178971e4ec3
parent9b2793c8c1e8ff5acedb8629a3538b9115f65709
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt