summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TAutoComplete.php
diff options
context:
space:
mode:
authorwei <>2007-04-05 02:34:01 +0000
committerwei <>2007-04-05 02:34:01 +0000
commitb89fc455357082799ff6559edc55991ec0cb1b52 (patch)
tree51cdfa387587c9596545a75dab979397aa693aaf /framework/Web/UI/ActiveControls/TAutoComplete.php
parent5d3f9a7de5ee0b0d8976398a490ed46b7107056f (diff)
fixed set MinChars and Frequency in AutoComplete
Diffstat (limited to 'framework/Web/UI/ActiveControls/TAutoComplete.php')
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php
index f7167feb..bde7d811 100644
--- a/framework/Web/UI/ActiveControls/TAutoComplete.php
+++ b/framework/Web/UI/ActiveControls/TAutoComplete.php
@@ -339,6 +339,10 @@ class TAutoComplete extends TActiveTextBox implements INamingContainer
$options['ResultPanel'] = $this->getResultPanel()->getClientID();
$options['ID'] = $this->getClientID();
$options['EventTarget'] = $this->getUniqueID();
+ if(($minchars=$this->getMinChars())!=='')
+ $options['minchars'] = $minchars;
+ if(($frequency=$this->getFrequency())!=='')
+ $options['frequency'] = $frequency;
return $options;
}