From: Dan Scott Date: Tue, 28 Jun 2011 18:19:13 +0000 (-0400) Subject: Take advantage of Wekbit speech input X-Git-Tag: sprint4-merge-nov22~5128^2~75^2~5^2~1^2 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fdbs%2Fttopac-speech-input;p=working%2FEvergreen.git Take advantage of Wekbit speech input The x-webkit-speech attribute enables speech input on current versions of Chrome. It's a frill, and I'm not sure we really want entire libraries of patrons mumbling to themselves more than we already have, but it's a low-cost frill so let's take advantage of it. Signed-off-by: Dan Scott Signed-off-by: Dan Scott --- diff --git a/Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2 b/Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2 index ae8081e069..6325c0af1e 100644 --- a/Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/advanced/global_row.tt2 @@ -23,7 +23,7 @@ [% END; END %] - + diff --git a/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 b/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 index 433ce68a27..383c1d2fd5 100644 --- a/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 @@ -28,7 +28,8 @@ + onblur="if (this.value==''){this.value='[% l("Search Keyword") %]';this.style.color='#999';}" + x-webkit-speech />