From 6b8ac7eb52cf05b404c7c5610b3cc270f59256a4 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Fri, 10 Aug 2012 12:53:17 +0000 Subject: fix #421 --- HISTORY | 1 + framework/Web/UI/ActiveControls/TAutoComplete.php | 1 + 2 files changed, 2 insertions(+) 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('')); $repeater->setItemTemplate(new TTemplate('
  • <%# $this->DataItem %>
  • ',null)); + $repeater->setEmptyTemplate(new TAutoCompleteTemplate('')); $this->getControls()->add($repeater); return $repeater; } -- cgit v1.2.3