Koha/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves
Marcel de Rooy 93366e10fb Bug 18980: Add js to dynamically show/hide the Anyone remark
If we we move from Private to Public or vice versa, this should reflect
on the Anyone remark from the first patch.
If we go back to a private list without shares, we should show it.

Handled in a js sub AdjustRemark, triggered by onchange of the category
combo or the permission combo.

Test plan:
[1] Edit a private list without shares in OPAC. Toggle category and/or
    permissions. Is the remark shown or hidden accordingly?
    Note: Include a test with OpacAllowPublicListCreation enabled.
[2] Edit a shared list or public list in staff. Toggle category/permissions.
    You should never see the remark.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-08-10 13:20:31 -03:00
..
tables Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
addbybiblionumber.tt Bug 13835: Popup with searches: results hidden by language menu in footer 2017-04-28 08:35:30 -04:00
downloadshelf.tt Bug 14544: Make the intranet side independent of Page.pm 2015-11-05 09:58:01 -03:00
merge.tt
sendshelf.tt Bug 17852; Multiple URLs (856) in list email are broken. 2017-02-21 19:55:49 +00:00
sendshelfform.tt Bug 16587: Same fixes for the staff interface 2016-05-25 22:14:34 +00:00
shelves.tt Bug 18980: Add js to dynamically show/hide the Anyone remark 2017-08-10 13:20:31 -03:00