From: Michael J. Rubinsky Date: Thu, 29 Oct 2009 22:24:59 +0000 (-0400) Subject: Remove stray double quote, correctly pass value array for the local autocompleter. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3784f25a89e3e5b0181d7ac80502d8922a233cd6;p=horde.git Remove stray double quote, correctly pass value array for the local autocompleter. Still no autocompletion, but we're getting close, I can smell it... --- diff --git a/ansel/lib/Ajax/Imple/LocationAutoCompleter.php b/ansel/lib/Ajax/Imple/LocationAutoCompleter.php index 875c5046e..b69883f7e 100644 --- a/ansel/lib/Ajax/Imple/LocationAutoCompleter.php +++ b/ansel/lib/Ajax/Imple/LocationAutoCompleter.php @@ -14,7 +14,7 @@ class Ansel_Ajax_Imple_LocationAutoCompleter extends Horde_Ajax_Imple_AutoComple { protected function _attach($js_params) { - $js_params['indicator'] = $this->_params['triggerId'] . '_loading_img"'; + $js_params['indicator'] = $this->_params['triggerId'] . '_loading_img'; $js_params['onSelect'] = 1; $js_params['onShow'] = 1; $js_params['tokens'] = ''; @@ -42,11 +42,10 @@ class Ansel_Ajax_Imple_LocationAutoCompleter extends Horde_Ajax_Imple_AutoComple if (!empty($_SESSION['ansel']['ajax_locationac'])) { $ret['ajax'] = 'LocationAutoCompleter'; } else { - $ret['browser'] = 'LocationAutoCompleter'; if (empty($results)) { $results = $GLOBALS['ansel_storage']->searchLocations(); } - $ret['list'] = Horde_Serialize::serialize($results, Horde_Serialize::JSON); + $ret['browser'] = Horde_Serialize::serialize($results, Horde_Serialize::JSON); } return $ret;