Skip to content

Commit

Permalink
AjaxService dependency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Stříbrný committed May 9, 2016
1 parent 5327e46 commit d9b8873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/AjaxSelect/Traits/AjaxServiceSignalTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
trait AjaxServiceSignalTrait {

/** @var AjaxSelect\Services\AjaxService @inject */
protected $ajaxService;
public $ajaxSelectService;

public function handleGetAjaxItems($entityName, array $entityOptions) {
$entity = $this->ajaxService->createEntity($entityName);
$entity = $this->ajaxSelectService->createEntity($entityName);
$entity->parseOptions($entityOptions);

$values = $entity->findValues(30);
Expand Down

0 comments on commit d9b8873

Please sign in to comment.