Prevent JavaScript error on non-Novelist sites user/dbs/shut_up_novelist
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:52:46 +0000 (14:52 -0400)
commitf4006f61ff6062765496a6721c36e144cbd332e5
treee6b14e68303b212b7080496ed16a591396fcb65d
parent84d6910d27d7f91ed82dce193501a4c36f37d79c
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