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:55:10 +0000 (14:55 -0400)
commit196284f19847b12f8ec61e32fa92f4057020b8b7
tree65691351ef75bf4d9437e9138d941e81eae658b4
parentf9400f318b627c4dac7c7c4ffe96c2913dea49d3
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