summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortof <>2007-10-11 09:02:07 +0000
committertof <>2007-10-11 09:02:07 +0000
commit596fcae81ef7de032afa65fd8ea480a2f635a9bb (patch)
tree20348f6a1ba016fe02e85eaa545240292d014e2b
parentd7fd9d7c3dfe6cb81e60e397b8ab3b1f91bf0ea4 (diff)
Fixed #719
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 5edeccef..f3e6881c 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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;
}