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

Evergreen Git git at git.evergreen-ils.org
Wed Nov 8 10:07:46 EST 2017


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  a3e2da6b4b7cd503a2603043f97674a030020cce (commit)
      from  faac33f3479f41157d6b2816cb1bbd4c1b4cb4f6 (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 a3e2da6b4b7cd503a2603043f97674a030020cce
Author: Mike Rylander <mrylander at gmail.com>
Date:   Thu Oct 5 16:25:40 2017 -0400

    LP#1721636: UpUp needs to know about i18n.js for offline mode
    
    Any resource that is loaded globally, which mostly means stuff in base.tt2
    and base_js.tt2, needs to be added to the UpUp resource list so that offline
    mode will function in the face of a cache clearing event.
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/staff/base_js.tt2 b/Open-ILS/src/templates/staff/base_js.tt2
index 7973500..2932e45 100644
--- a/Open-ILS/src/templates/staff/base_js.tt2
+++ b/Open-ILS/src/templates/staff/base_js.tt2
@@ -1,3 +1,16 @@
+[%#
+
+  ***************************************************************************
+  * !!! ATTENTION !!! !!! ATTENTION !!! !!! ATTENTION !!! !!! ATTENTION !!! *
+  ***************************************************************************
+
+If anything is added to the bottom half of this file
+for global use, it will probably need to be added to
+the UpUp resource list!
+
+%]
+
+
 <script src="/upup.min.js"></script>
 <script>
 UpUp.start({
@@ -58,6 +71,7 @@ UpUp.start({
     '[% ctx.media_prefix %]/js/ui/default/staff/services/user.js',
     '[% ctx.media_prefix %]/js/ui/default/staff/services/navbar.js',
     '[% ctx.media_prefix %]/js/ui/default/staff/services/ui.js',
+    '[% ctx.media_prefix %]/js/ui/default/staff/services/i18n.js',
     '[% ctx.media_prefix %]/js/ui/default/staff/services/date.js',
     '[% ctx.media_prefix %]/js/ui/default/staff/services/op_change.js',
     '[% ctx.media_prefix %]/js/ui/default/staff/services/lovefield.js',

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

Summary of changes:
 Open-ILS/src/templates/staff/base_js.tt2 |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list