summaryrefslogtreecommitdiff
path: root/lib/prado/framework/Web/UI/ActiveControls/TActiveDatePicker.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prado/framework/Web/UI/ActiveControls/TActiveDatePicker.php')
-rwxr-xr-xlib/prado/framework/Web/UI/ActiveControls/TActiveDatePicker.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/prado/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/lib/prado/framework/Web/UI/ActiveControls/TActiveDatePicker.php
index 6328bac..72f9953 100755
--- a/lib/prado/framework/Web/UI/ActiveControls/TActiveDatePicker.php
+++ b/lib/prado/framework/Web/UI/ActiveControls/TActiveDatePicker.php
@@ -5,7 +5,7 @@
* @author Bradley Booms <Bradley.Booms@nsighttel.com>
* @author Christophe Boulain <Christophe.Boulain@gmail.com>
* @link https://github.com/pradosoft/prado
- * @copyright Copyright &copy; 2005-2015 The PRADO Group
+ * @copyright Copyright &copy; 2005-2016 The PRADO Group
* @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
* @package System.Web.UI.ActiveControls
*/
@@ -89,6 +89,9 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I
* @param string text content for the textbox
*/
public function setText($value){
+ if(parent::getText() === $value)
+ return;
+
parent::setText($value);
if($this->getActiveControl()->canUpdateClientSide() && $this->getHasLoadedPostData()){
$cb=$this->getPage()->getCallbackClient();