Bug 3274: Patch to fix Holiday Exceptions radio button.
authorGarry Collum <gcollum@gmail.com>
Sat, 30 May 2009 16:29:11 +0000 (12:29 -0400)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:02 +0000 (23:19 +0200)
commita5080e4b5c1d2181f398ffecd65be2f44a47f6cc
tree0f97a1a7c166256f5c32be34dccb133512b13de4
parent24bcad9d1cd929f600e80ba7b3a392c8ca4b653c
Bug 3274: Patch to fix Holiday Exceptions radio button.

Holiday exceptions only make since for repeatable holidays. Javascript showHoliday function was looking for a 'showTitle' id that no longer existed in the showHolidau form.  Added a hidden input field because of the possibility of re-adding the title text input field at a later time.
Added code to determine whether a holiday as an exception or not, so that the "Delete this program" radio button changes to "Delete this exception" because that is the program's true functionality if the holiday is an exception.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl