[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 66ee8ab4580604b2d7a88ec902f5654fab8018f6

Evergreen Git git at git.evergreen-ils.org
Tue Aug 9 14:39:49 EDT 2016


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_10 has been updated
       via  66ee8ab4580604b2d7a88ec902f5654fab8018f6 (commit)
      from  ffa57c81e0c3477b82577b8a1afa68d91097516c (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 66ee8ab4580604b2d7a88ec902f5654fab8018f6
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Thu Aug 4 10:37:17 2016 -0400

    Delay Novelist loading slightly
    
    So that if Novelist holds things up other JavaScript, like staff client calls,
    are not delayed due to Novelist issues.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/templates/opac/parts/acjs.tt2 b/Open-ILS/src/templates/opac/parts/acjs.tt2
index dd48374..9d4eaa2 100644
--- a/Open-ILS/src/templates/opac/parts/acjs.tt2
+++ b/Open-ILS/src/templates/opac/parts/acjs.tt2
@@ -54,6 +54,7 @@
 
 [%- IF ENV.OILS_NOVELIST_URL -%]
             /* Load novelist content */
+            setTimeout( function() {
             novSelect.loadContentForQuery(
                 {
                     ClientIdentifier : '[% ident %]',
@@ -67,7 +68,7 @@
                     // hide the Loading... text
                     dojo.byId('novelist-loading').innerHTML = '';
                 }
-            );
+            )}, 100);
 [%- END; # Novelist -%]
 
         [% END; # IF ident

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

Summary of changes:
 Open-ILS/src/templates/opac/parts/acjs.tt2 |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list