From d2b5963e2fd5654b05ed42711c0fbf07d910a882 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 23 Aug 2012 13:01:02 -0400 Subject: [PATCH] Bug 8428 - can't save contracts When I replaced the old calendar widget with the jQueryUI version we lost a JavaScript function which is required by a couple of pages: Date_from_syspref. This patch adds the function back to the calendar include and corrects variables in the two affected templates to make it work again. To test: - create a new contract. Submitting should work properly and without JavaScript errors. - Open the serials claims page (serials/claims.pl) and filter the results by date. Submitting the filter form should work properly and without JavaScript errors. Signed-off-by: Nicole C. Engard Both tests passed. Signed-off-by: Paul Poulain --- .../prog/en/includes/calendar.inc | 21 +++++++++++++++++++ .../prog/en/modules/admin/aqcontract.tt | 4 ++-- .../prog/en/modules/serials/claims.tt | 4 ++-- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc index d77e9e0f15..fc8a1a380d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc @@ -1,5 +1,26 @@