[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. 56c500fc119b8dc663048b61ff6503ec6622ac9d

Evergreen Git git at git.evergreen-ils.org
Wed Nov 8 10:07:47 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, rel_3_0 has been updated
       via  56c500fc119b8dc663048b61ff6503ec6622ac9d (commit)
      from  6f748da77ea90323f8440fe702b60d6888021412 (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 56c500fc119b8dc663048b61ff6503ec6622ac9d
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