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:50 +0000 (16:19 -0400)
commit52f893edbec7b71a2e9c40afb1cd5a7c2cc1cc9b
treeb66dafe7c734d6fcf8c6262e218028b4ede49a34
parentd9e09087fdd318739c4ff34fadb154139e90aecd
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