[Koha-devel] Clear OPAC self-registration form when back button pressed

edward.m.veal edward.m.veal at gmail.com
Mon Apr 16 16:34:15 CEST 2018


Great find David, I think I will add it to our system.  
Ed


Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone
-------- Original message --------From: Martha Fuerst <mfuerst at hmcpl.org> Date: 4/16/18  8:42 AM  (GMT-06:00) To: David Cook <dcook at prosentient.com.au> Cc: koha-devel at lists.koha-community.org, Aaron Sakovich <asakovich at hmcpl.org> Subject: Re: [Koha-devel] Clear OPAC self-registration form when back button pressed 
I’m for it! Thanks for this!

Marti Fuerst
Systems Librarian
Huntsville-Madison County Public Library
915 Monroe St, Huntsville, AL 35801
http://hmcpl.org/ — mfuerst@hmcpl.org


On Apr 12, 2018, at 8:55 PM, David Cook <dcook at prosentient.com.au> wrote:
What do people think about clearing the OPAC self-registration form when back button pressed?  I used some code* from https://stackoverflow.com/questions/8861181/clear-all-fields-in-a-form-upon-going-back-with-browser-back-button to implement it and it worked pretty well on the latest Chrome on Windows 10. That way you don’t have people finding personal information about other people just by pressing “Back” on a public computer.   *$(window).bind("pageshow", function() {    var form = $('#memberentry-form');     // let the browser natively reset defaults    form[0].reset();}); David CookSystems LibrarianProsentient Systems72/330 Wattle StUltimo, NSW 2007Australia Office: 02 9212 0899Direct: 02 8005 0595 _______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180416/9c18e064/attachment-0001.html>


More information about the Koha-devel mailing list