diff options
author | wei <> | 2007-04-05 02:34:01 +0000 |
---|---|---|
committer | wei <> | 2007-04-05 02:34:01 +0000 |
commit | b89fc455357082799ff6559edc55991ec0cb1b52 (patch) | |
tree | 51cdfa387587c9596545a75dab979397aa693aaf /framework/Web/UI/ActiveControls/TAutoComplete.php | |
parent | 5d3f9a7de5ee0b0d8976398a490ed46b7107056f (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.php | 4 |
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;
}
|