From: Lebbeous Fogle-Weekley Date: Fri, 27 Jan 2012 00:21:58 +0000 (-0500) Subject: Finally get TPAC AutoSuggest working in IE. Needed JSON_v1.js X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fautosuggest-wip;p=evergreen%2Fequinox.git Finally get TPAC AutoSuggest working in IE. Needed JSON_v1.js Incidentally also avoid x-webkit-speech if using AutoSuggest. Chrome users see it for only a split second before the AutoSuggest widget clobbers it anyway. Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/Open-ILS/src/templates/opac/parts/js.tt2 b/Open-ILS/src/templates/opac/parts/js.tt2 index 6473bd52dc..91efa6adc3 100644 --- a/Open-ILS/src/templates/opac/parts/js.tt2 +++ b/Open-ILS/src/templates/opac/parts/js.tt2 @@ -49,10 +49,17 @@ }, lang, bidi; - -[%# See whether we can get away with killing this line - LFW %] +[%- # So the following works in Mozilla and Chrome, but not in IE8. + # Seems like it /should/ work anywhere, though, and obviate the + # next three script tags: %] + + + + + + [% IF use_autosuggest.enabled == "t"; %]