projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b55b3ca
)
Delay Novelist loading slightly
user/tsbere/delay_novelist
author
Thomas Berezansky
<tsbere@mvlc.org>
Thu, 4 Aug 2016 14:37:17 +0000
(10:37 -0400)
committer
Thomas Berezansky
<tsbere@mvlc.org>
Thu, 4 Aug 2016 14:38:13 +0000
(10:38 -0400)
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@mvlc.org>
Open-ILS/src/templates/opac/parts/acjs.tt2
patch
|
blob
|
history
diff --git
a/Open-ILS/src/templates/opac/parts/acjs.tt2
b/Open-ILS/src/templates/opac/parts/acjs.tt2
index
dd48374
..
9d4eaa2
100644
(file)
--- 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