diff options
author | tof <> | 2007-10-11 09:02:07 +0000 |
---|---|---|
committer | tof <> | 2007-10-11 09:02:07 +0000 |
commit | 596fcae81ef7de032afa65fd8ea480a2f635a9bb (patch) | |
tree | 20348f6a1ba016fe02e85eaa545240292d014e2b | |
parent | d7fd9d7c3dfe6cb81e60e397b8ab3b1f91bf0ea4 (diff) |
Fixed #719
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | framework/Web/UI/ActiveControls/TAutoComplete.php | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,6 @@ Version 3.1.2 To be released ============================ +BUG: Ticket#719 - TAutoCompleter should not trigger Validation if CausesValidation=False (Christophe) CHG: Changed TConditional so that the controls in its template behave like they are in its parent (Qiang) CHG: Active Record many-to-many relationship change from self::HAS_MANY to self::MANY_TO_MANY (Wei) ENH: Active Record supports multiple foreign references of the same table (Wei) diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php index 3b457bbb..e29e2538 100644 --- a/framework/Web/UI/ActiveControls/TAutoComplete.php +++ b/framework/Web/UI/ActiveControls/TAutoComplete.php @@ -343,7 +343,8 @@ class TAutoComplete extends TActiveTextBox implements INamingContainer if(($minchars=$this->getMinChars())!=='')
$options['minChars'] = $minchars;
if(($frequency=$this->getFrequency())!=='')
- $options['frequency'] = $frequency;
+ $options['frequency'] = $frequency; + $options['CausesValidation'] = $this->getCausesValidation();
return $options;
}
|