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

Evergreen Git git at git.evergreen-ils.org
Tue Aug 9 14:39:48 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, master has been updated
       via  77e698b6b7ce7314413ffc39d5893883a51ce7ee (commit)
      from  31563d8f54fd65d318635375b3b07520bf7bfc31 (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 77e698b6b7ce7314413ffc39d5893883a51ce7ee
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