summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorctrlaltca <>2012-05-15 13:38:15 +0000
committerctrlaltca <>2012-05-15 13:38:15 +0000
commit30a457a57db5c1d76280478aa6d126da34729eb4 (patch)
tree0876a94f340aa69b21810594784a9bc51afdfa28
parent9a330a7b433fc4d1d14e08e1856077c5ec730c09 (diff)
TActiveDatePicker's default value for the AutoPostBack property should be true (both for backward compatibility and coherence with other active controls)
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveDatePicker.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
index 603cfe3b..515eb29a 100755
--- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php
+++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
@@ -34,23 +34,23 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I
/**
* @return boolean a value indicating whether an automatic postback to the server
- * will occur whenever the user modifies the text in the TTextBox control and
- * then tabs out of the component. Defaults to false.
+ * will occur whenever the user modifies the text in the TActiveDatePicker control and
+ * then tabs out of the component. Defaults to true.
*/
public function getAutoPostBack()
{
- return $this->getViewState('AutoPostBack',false);
+ return $this->getViewState('AutoPostBack',true);
}
/**
* Sets the value indicating if postback automatically.
* An automatic postback to the server will occur whenever the user
- * modifies the text in the TTextBox control and then tabs out of the component.
+ * modifies the text in the TActiveDatePicker control and then tabs out of the component.
* @param boolean the value indicating if postback automatically
*/
public function setAutoPostBack($value)
{
- $this->setViewState('AutoPostBack',TPropertyValue::ensureBoolean($value),false);
+ $this->setViewState('AutoPostBack',TPropertyValue::ensureBoolean($value),true);
}
/**