webstaff: teach egOrgSelector how to be sticky
authorGalen Charlton <gmc@esilibrary.com>
Fri, 16 Oct 2015 22:21:14 +0000 (22:21 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 19 Oct 2015 15:09:08 +0000 (15:09 +0000)
commit4e529c264240b46c8b7a62ada74d28ef51726d1c
treef47dc6f3af9fa93461e955f3c71e53e7ab96d584
parent2295fa6b9c093862109faaca6fe03cf97531d50d
webstaff: teach egOrgSelector how to be sticky

In order to make the org unit selector in the holdings view
to be "sticky", the egOrgSelector directive now accepts an
optional stickySetting attribute specifying the name of a
preference key for storing the last selected org unit.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/staff/cat/catalog/t_holdings.tt2
Open-ILS/web/js/ui/default/staff/services/ui.js