[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 6ff9b39db6a95d51fe298d052f5a03668cedfdd8

Evergreen Git git at git.evergreen-ils.org
Wed Oct 12 14:59:28 EDT 2011


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 "Evergreen ILS".

The branch, rel_2_1 has been updated
       via  6ff9b39db6a95d51fe298d052f5a03668cedfdd8 (commit)
      from  7e2ac8bd3f8aa99a0966516be7d7a4783bfab4bb (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 6ff9b39db6a95d51fe298d052f5a03668cedfdd8
Author: Dan Scott <dscott at laurentian.ca>
Date:   Wed Oct 12 14:54:25 2011 -0400

    Give OrgTree.js a locale, always
    
    We started generating locale-specific OrgTree.js files many moons ago,
    and now no longer provide a "default" locale in the root of the
    common/js directory. The result was that the index.xhtml page for the
    staff client was throwing an "_l is undefined" exception; largely
    meaningless, as it seems that the OrgTree isn't even used on that page,
    but noise that doesn't need to be in the JavaScript console.
    
    Here we correct that exception by providing a locale, and hopefully
    prevent any further copy/paste mistakes.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/xul/staff_client/server/index.xhtml b/Open-ILS/xul/staff_client/server/index.xhtml
index 44b6c81..dfa9de8 100644
--- a/Open-ILS/xul/staff_client/server/index.xhtml
+++ b/Open-ILS/xul/staff_client/server/index.xhtml
@@ -69,7 +69,7 @@
 </script>
   <script type="text/javascript" src="/opac/common/js/RemoteRequest.js">
 </script>
-  <script type="text/javascript" src="/opac/common/js/OrgTree.js">
+  <script type="text/javascript" src="/opac/common/js/<!--#echo var='locale'-->/OrgTree.js">
 </script>
   <script type="text/javascript" src="/opac/common/js/org_utils.js">
 </script>

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

Summary of changes:
 Open-ILS/xul/staff_client/server/index.xhtml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list