From afb18791e7f059e461908f5e57f4823bfa7b5f16 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Thu, 26 Jan 2012 19:21:58 -0500 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/parts/js.tt2 | 11 +++++++++-- Open-ILS/src/templates/opac/parts/searchbar.tt2 | 13 +++++++------ Open-ILS/web/js/dojo/openils/AutoSuggestStore.js | 7 +++---- 3 files changed, 19 insertions(+), 12 deletions(-) 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"; %]