[open-ils-commits] [GIT] Evergreen ILS branch master updated. 4d6da36ad97c638af7aef89734dc9cb90e3c1020

Evergreen Git git at git.evergreen-ils.org
Wed Oct 12 14:57:12 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, master has been updated
       via  4d6da36ad97c638af7aef89734dc9cb90e3c1020 (commit)
      from  bb952f0ade4daec445a5acd10f266285c15af2f3 (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 4d6da36ad97c638af7aef89734dc9cb90e3c1020
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 b60be0d..7475cbc 100644
--- a/Open-ILS/xul/staff_client/server/index.xhtml
+++ b/Open-ILS/xul/staff_client/server/index.xhtml
@@ -72,7 +72,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