From ae45b12dba758aaab8f0397ec38bd75d4f0fddbf 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 Content-Type: text/plain; charset="utf-8" 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. --- .../intranet-tmpl/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 d77e9e0..fc8a1a3 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 @@