From: Ben Shum Date: Fri, 22 Feb 2013 05:03:58 +0000 (-0500) Subject: Enable dojo in TPAC if using newer Novelist API X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=22b50dccc96b6977febea1e2877b6a945a3bbef0;p=contrib%2FConifer.git Enable dojo in TPAC if using newer Novelist API Enable dojo if the apache variable for Novelist URL is set. This avoids issues such as needing to have dojo enabled via either AutoSuggest or Google Books preview, which may not be enabled by every TPAC. Signed-off-by: Ben Shum Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/opac/parts/header.tt2 b/Open-ILS/src/templates/opac/parts/header.tt2 index 4397e81d28..daa26e5d6d 100644 --- a/Open-ILS/src/templates/opac/parts/header.tt2 +++ b/Open-ILS/src/templates/opac/parts/header.tt2 @@ -100,4 +100,8 @@ IF ctx.google_books_preview; want_dojo = 1; END; + + IF ENV.OILS_NOVELIST_URL; + want_dojo = 1; + END; %]