Bug 9294 - Move JavaScript out of circulation template
authorOwen Leonard <oleonard@myacpl.org>
Thu, 15 Aug 2013 20:14:50 +0000 (16:14 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 18 Sep 2013 16:14:24 +0000 (16:14 +0000)
commit249b37ef488d90d8cd9104c4d3d806f7a30590d8
treee49fc96d78460027654b417acdf83cb27f9df7a0
parent887900ba597886f8ed06943849be172131f12cee
Bug 9294 - Move JavaScript out of circulation template

This patch creates a new js file, js/pages/circulation.js, and begins
the process of moving JavaScript into it from circulation.tt. I have
started the process by focusing on sections which are least dependent on
template variables.

To test, load a patron for checkout who has something checked out.
There should be no JavaScript errors:
 - Tabs should work.
 - Showing and hiding the "Add message" form should work.
 - The "specify due date" datepicker should work.
 - Controls for selecting checkboxes in the checkouts table should work

Signed-off-by: Campbell Reid-Tait <campbellreidtait@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Just found a weird behavior with checkboxes in the checkouts table, but
still exists on master.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt