public function attached($presenter) {
		parent::attached($presenter);

		if($this->ajaxEnabled && $this->autoAjax && $presenter instanceof Nette\Application\UI\Presenter && $presenter->isAjax()) {
			$this->redrawControl();
		}
	}