[Koha-devel] OPACUserJS, password recovery form

Holger Meissner Holger.Meissner at hs-gesundheit.de
Wed Feb 7 14:33:01 CET 2018


Dear koha devs,

login and email are identical for our patrons. I'd like to simplify password recovery by hiding one of the two inputs.

$(document).ready(function(){

$("#opac-password-recovery label[for='username']").hide();
$("#opac-password-recovery label[for='email']").hide();
$("#opac-password-recovery #email").hide();
$("#opac-password-recovery #username").before('<br /><br />');

});

This works fine in scratchpad, but has no effect in OPACUserJS.

Can anyone give me a hint?

______________________________
Holger Meißner

Bibliothek und Fachinformation 
Systembibliothekar

Hochschule für Gesundheit - University of Applied Sciences
Gesundheitscampus 6-8, D-44801 Bochum, Raum C-2306
Tel: +49 234 77727-154, Fax: +49 234 77727-254
E-Mail: holger.meissner at hs-gesundheit.de, Web: www.hs-gesundheit.de


More information about the Koha-devel mailing list