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)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 3 Jun 2009 18:26:18 +0000 (13:26 -0500)
commit2fb7423fc0fcf9095b77d3951155b4c74ffc1446
tree9eabb3b05fb669ddb1ffef87af1455eb02890a79
parent9f5869e8ebe8520b2f783e98f36d026705ef75f3
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl