[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-783-g0fc7d9a

Git repo owner gitmaster at git.koha-community.org
Mon Jul 8 17:00:16 CEST 2013


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  0fc7d9a0a4aa094c6295ee1f0d43d97831e322dc (commit)
      from  bf9eccfeb8069c1b258916c1916138b6317122da (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 0fc7d9a0a4aa094c6295ee1f0d43d97831e322dc
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Fri Jun 28 14:46:44 2013 -0400

    Bug 10522: fix Javascript error on acquisition pages: YAHOO is not defined
    
    acq.js includes an immediately invoked function expression, which means
    that it runs whether or not it is called. Because this function tries to
    reference the YAHOO object, it triggers an error on pages which don't
    include the main YAHOO assets. Only the basketgroups page uses this
    function and YAHOO assets.
    
    It's probably possible to make this a regular function, but I propose
    simply wrapping it in a check for the YAHOO object so that it only
    executes on pages where YAHOO exists--the basketgroups page.
    
    To test, apply the patch, clear your browser cache, and test on both the
    basketgroups page and at least one page which also includes acq.js
    (addorderiso2709.pl, neworderempty.pl, aqbudgets.pl, suggestion.pl,
    etc.) and confirm that the browser reports no JavaScript errors.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 koha-tmpl/intranet-tmpl/prog/en/js/acq.js |  282 ++++++++++++++--------------
 1 files changed, 141 insertions(+), 141 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list