Bug 8972 - Due Date set to 100 years ago
authorOwen Leonard <oleonard@myacpl.org>
Wed, 7 Nov 2012 14:41:03 +0000 (09:41 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 9 Nov 2012 04:23:25 +0000 (23:23 -0500)
commit2a73ced61d02a2a06a5aa570bbf149eb1e620faa
treeba02bca4f53fe9a7bb7077fc0ec720f923defba1
parent3ca887bed227d70a3cde38a5352cdca0019a9ccc
Bug 8972 - Due Date set to 100 years ago

In order to prevent submission of dates with ambiguous two-digit
years this patch makes date-due input fields read-only so that
users must use date/time picker.

Other minor fixes:

- Adding missing labels
- Adding common class wrapper to datepicker for checkout and renewal
- Correcting focus handling on "specify due date" field (should
  focus on barcode field after a date has been selected).
- Removing trailing comma from JavaScript (breaks IE)

To test, try typing an invalid number in any of the date due entry
fields: Under 'specify due date,' 'renewal due date,' or the
confirm "invalid" date dialog (after specifying a date in the past).
Manual entry should not work. Choosing a date/time using the
widget should work.

Signed-off-by: Melia Meggs <melia@test.bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt