LP1717366 Patron summary auto-collapse as org setting user/khuckins/lp1717366-patron-summary-autocollapse-rebase
authorBill Erickson <berickxx@gmail.com>
Tue, 15 Jan 2019 17:20:52 +0000 (12:20 -0500)
committerKyle Huckins <khuckins@catalyte.io>
Mon, 25 Nov 2019 17:29:22 +0000 (17:29 +0000)
commit373c4e945671479df88601a14e9bcbf90d169cd3
tree73c21744a368afbaa8067f93b9c027da37f98f80
parent629376052ba8d44ac02bf2e6a0218ae4eb886bb9
LP1717366 Patron summary auto-collapse as org setting

Treat "circ.auto_hide_patron_summary" as an org setting instead of a
browser client (workstation) setting for consistency with XUL client.

Pre-fetch the circ.auto_hide_patron_summary org setting value so it's
loaded and cached along with the initial patron org settings batch (one
fewer API call).

Move the show/hide function up in the file so it's defined before it's
first referenced (for clarity).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/patron/app.js