[koha-commits] main Koha release repository branch master updated. v3.22.00-1433-g0b6bc2b

Git repo owner gitmaster at git.koha-community.org
Fri Apr 29 16:06:09 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  0b6bc2b5983f0e66c13902e74352cdcd68971a7f (commit)
      from  0aa787615a0ac1788a21c3bc31994d0259f4ef04 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0b6bc2b5983f0e66c13902e74352cdcd68971a7f
Author: Marc Véron <veron at veron.ch>
Date:   Thu Apr 7 19:10:55 2016 +0200

    Bug 16218: printfeercpt.tt (and others) does not include jQuery
    
    This patch adds [% INCLUDE 'doc-head-close.inc' %] to the following files
    (to make them include jQuery):
    
    koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt
    koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
    koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt
    koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt
    
    To test:
    
    1) Temporarily include the follwing lines in syspref IntranetSlipPrinterJS:
    
    function printThenClose() {
      if (typeof jQuery != 'undefined') {
        // jQuery is loaded => print the version
        alert(jQuery.fn.jquery);
      }
      else {
        alert('jQuery not available');
      }
    }
    
    2) Go to a users page and print slips:
    From the Print button in the tool bar:
    - Print summary
    - Print slip
    - Print quick slip
    From the "Fines" tab: Account
    - 'Print' link in the table with paid transactions
    
    Without patch, a JavaScript message 'jQuery not avaliable' appears.
    With patch, the message displays the current jQuery version (1.7.2)
    
    3) Remove IntranetSlipPrinterJS
    - Verify that the slips above print as expected.
    
    Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
    Works as expected
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt            |    2 +-
 koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt  |    1 +
 .../intranet-tmpl/prog/en/modules/members/moremember-receipt.tt      |    1 +
 koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt      |    1 +
 4 files changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list