In order to conform to best practices for performance staff client template javascript should be in the footer instead of the header. This patch will do so for the holds template.
Created attachment 74852 [details] [review] Bug 20220: Move template JavaScript to the footer: Holds This patch modifies the holds template so that JavaScript is included in the footer. To test, apply the patch and initiate the process of placing a hold. Throughout the process JavaScript-based interactions should work: Patron autocomplete, datepickers, DataTables, cancel confirmations, etc.
Created attachment 75257 [details] [review] Bug 20220: Move template JavaScript to the footer: Holds This patch modifies the holds template so that JavaScript is included in the footer. To test, apply the patch and initiate the process of placing a hold. Throughout the process JavaScript-based interactions should work: Patron autocomplete, datepickers, DataTables, cancel confirmations, etc. Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Created attachment 76159 [details] [review] Bug 20220: Move template JavaScript to the footer: Holds This patch modifies the holds template so that JavaScript is included in the footer. To test, apply the patch and initiate the process of placing a hold. Throughout the process JavaScript-based interactions should work: Patron autocomplete, datepickers, DataTables, cancel confirmations, etc. Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Awesome work all! Pushed to master for 18.11
Enhancement, not backporting to 18.05.x series.