Skip to content
Snippets Groups Projects
Commit 437eefce authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #14371 autocomplete

Activated on EXPERIMENTAL_DEV option
parent b0f6a45e
Branches
Tags
5 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!215Dev#12992 Custom Fields,!209Hotline#13914 Album Link Config Menu,!190Dev#12691 Autocomplete,!185Dev#12691 Autocomplete
......@@ -21,9 +21,13 @@
class ZendAfi_View_Helper_Accueil_RechSimple extends ZendAfi_View_Helper_Accueil_Base {
protected function _renderHeadScriptsOn($script_loader) {
$script_loader
->addJQueryReady('$("input.expressionRecherche").attr("x-webkit-speech","x-webkit-speech")');
if (!defined('DEVELOPMENT'))
return;
$script_loader
->addOPACPluginScript('search_autocomplete/search_autocomplete')
->addJQueryReady('$("input.expressionRecherche").attr("x-webkit-speech","x-webkit-speech")')
->addJQueryReady('$("input.expressionRecherche").search_autocomplete('. $this->getAutocompleteOptions() .')');
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment