summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorctrlaltca <>2012-08-10 12:53:17 +0000
committerctrlaltca <>2012-08-10 12:53:17 +0000
commit6b8ac7eb52cf05b404c7c5610b3cc270f59256a4 (patch)
treec7e86ed78109c368ef6fd8a4cfba79de6dc162e2 /framework/Web
parente7b4d1466524258585711be76d525b1c8441f4d2 (diff)
fix #421
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php
index ce648b02..d09e52c6 100644
--- a/framework/Web/UI/ActiveControls/TAutoComplete.php
+++ b/framework/Web/UI/ActiveControls/TAutoComplete.php
@@ -270,6 +270,7 @@ class TAutoComplete extends TActiveTextBox implements INamingContainer
$repeater->setHeaderTemplate(new TAutoCompleteTemplate('<ul>'));
$repeater->setFooterTemplate(new TAutoCompleteTemplate('</ul>'));
$repeater->setItemTemplate(new TTemplate('<li><%# $this->DataItem %></li>',null));
+ $repeater->setEmptyTemplate(new TAutoCompleteTemplate('<ul></ul>'));
$this->getControls()->add($repeater);
return $repeater;
}