ZF-5179: Documentation at 57.2.2.2.2 for the jQuery ajax autocomplete helper does not match functionality
Description
Current: class MyIndexController extends Zend_Controller_Action { public function autocompleteAction() { // The data sent via the ajax call is inside $_GET['q'] $filter = $_GET['q'];
// Disable Layout and stuff, just displaying AutoComplete Information.
$this->autoComplete(array("New York", "Bonn", "Tokio"));
}
}
Change: $this->autoComplete(array("New York", "Bonn", "Tokio"));
To: $this->_helper->autoComplete(array("New York", "Bonn", "Tokio"));
Comments
Posted by Benjamin Eberlei (beberlei) on 2008-12-09T00:34:40.000+0000
Fixed in trunk, will also be in the next 1.7 mini release manual.