Bug 8428 - can't save contracts origin/new/bug_8428
authorOwen Leonard <oleonard@myacpl.org>
Thu, 23 Aug 2012 17:01:02 +0000 (13:01 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 14 Sep 2012 15:30:44 +0000 (17:30 +0200)
commitd2b5963e2fd5654b05ed42711c0fbf07d910a882
tree1c8b5f70f8a13bee4632f695aecd2a6d259dcf31
parent53e08d9811fa3802f4a759501fba684c96cf2561
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 <nengard@bywatersolutions.com>
Both tests passed.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt