]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Jun 2022 14:50:35 +0000 (11:50 -0300)
commitc699f05970bbef78ec07e16eac5991cd72f9b87a
treeed78ece233a56791907fdd20a690ad649e9c3e0e
parent314840b82ed849b916c765c9272fcfe1f8fa3a14
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt