this add a js that print a record --- .../prog/en/modules/catalogue/detailprint.tmpl | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detailprint.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detailprint.tmpl index 3eeda65..64f1eb9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detailprint.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detailprint.tmpl @@ -44,5 +44,11 @@ </tr> <!-- /TMPL_LOOP --> </table> - +<script type="text/javascript"> +//<![CDATA[ + $(document).ready(function() { + window.print(); + }); +//]]> +</script> <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" --> -- 1.7.0.4 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-patches