]> git.koha-community.org Git - koha.git/commit
Bug 9294 - Move JavaScript out of circulation template
authorOwen Leonard <oleonard@myacpl.org>
Thu, 15 Aug 2013 20:14:50 +0000 (16:14 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 3 Dec 2013 13:49:19 +0000 (10:49 -0300)
commitd7eea46ade06ab22634526ec0909f7f3c036b9f7
tree265f4a8cb00a4671cb7b23c20ef213b203190cfe
parentcccca7ca2e8dda5e247ac2b3a87797d8469f9ab4
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>
(cherry picked from commit 249b37ef488d90d8cd9104c4d3d806f7a30590d8)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.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