summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorctrlaltca <>2012-08-10 12:53:17 +0000
committerctrlaltca <>2012-08-10 12:53:17 +0000
commit6b8ac7eb52cf05b404c7c5610b3cc270f59256a4 (patch)
treec7e86ed78109c368ef6fd8a4cfba79de6dc162e2
parente7b4d1466524258585711be76d525b1c8441f4d2 (diff)
fix #421
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 730c1fcc..b3cdd48a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9,6 +9,7 @@ BUG: Issue #417 - TActiveCustomValidator and Display=Dynamic not work anymore (s
BUG: Issue #418 - Can't get parameters when friendly url enabled with UrlFormat=Path (sampsa.saarela)
ENH: Issue #419 - CssClass for PushButtons of TPager (ctrlaltca)
ENH: Issue #420 - Permit to easily mock TActiveRecordgateway for unit testing (mvschaik)
+BUG: Issue #421 - TAutocomplete not rendering an empty suggestion list (Dario Rigolin)
EHN: Permit to change the default cipher in TSecurityManager::setEncryption(); changed the default cipher from 3DES to AES256 (ctrlaltca)
EHN: Use php's hash_hmac() when available in TSecurityManager, and permit the use of all algorithms supported by php (ctrlaltca)
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;
}