Prevent JavaScript error on non-Novelist sites
authorDan Scott <dscott@laurentian.ca>
Fri, 21 Jun 2013 18:49:27 +0000 (14:49 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 21 Jun 2013 18:54:28 +0000 (14:54 -0400)
commit8cb92be0625cff9ab51d66a6eb4268d171938eb1
tree4bfa1094f677753e8973b1961eefb32317fbec15
parentcb2144341639b8648ba116c47130697f9fa0db2e
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>
Open-ILS/src/templates/opac/parts/acjs.tt2