framework/Web/UI/WebControls/TDatePicker.php 1 location
|
@@ 474-479 (lines=6) @@
|
| 471 |
|
return parent::loadPostData($key, $values); |
| 472 |
|
} |
| 473 |
|
$value = $this->getDateFromPostData($key, $values); |
| 474 |
|
if (!$this->getReadOnly() && $this->getText() !== $value) { |
| 475 |
|
$this->setText($value); |
| 476 |
|
return true; |
| 477 |
|
} else { |
| 478 |
|
return false; |
| 479 |
|
} |
| 480 |
|
} |
| 481 |
|
|
| 482 |
|
/** |
framework/Web/UI/WebControls/TTextBox.php 1 location
|
@@ 272-277 (lines=6) @@
|
| 269 |
|
if ($this->getAutoTrim()) { |
| 270 |
|
$value = trim($value); |
| 271 |
|
} |
| 272 |
|
if (!$this->getReadOnly() && $this->getText() !== $value) { |
| 273 |
|
$this->setText($value); |
| 274 |
|
return $this->_dataChanged = true; |
| 275 |
|
} else { |
| 276 |
|
return false; |
| 277 |
|
} |
| 278 |
|
} |
| 279 |
|
|
| 280 |
|
/** |