]> git.koha-community.org Git - koha.git/commit
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:14:39 +0000 (23:14 -0500)
commitca9f182601d8b4142b0c5bcdae1d11ef90d76637
treefcfbb9291bfbe7ee5e0fea873d3a899d20c57a1e
parent92bdb7367795445a2a211e116cdb1d6dd59d5ce7
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