]> git.evergreen-ils.org Git - Evergreen.git/commit
Prevent JavaScript error on non-Novelist sites
authorDan Scott <dscott@laurentian.ca>
Fri, 21 Jun 2013 18:49:27 +0000 (14:49 -0400)
committerBen Shum <bshum@biblio.org>
Fri, 21 Jun 2013 20:19:40 +0000 (16:19 -0400)
commit31d0f9ef53fcb57faff46a2c7ad471040b432a72
treecc30f2eba87729b549a3e3b7af5f5596d218a7ad
parentcb7fb21c45329fd3b4f17dc4721e7f1e28ce0aab
Prevent JavaScript error on non-Novelist sites

Unless the Evergreen site in question is signed up and configured to
support Novelist added content, every details page will generate a
JavaScript error due to the reference to an undefined JavaScript
function. Guard against that by testing for the presence of the Novelist
URL.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/acjs.tt2