diff options
author | ctrlaltca@gmail.com <> | 2012-04-14 13:18:59 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2012-04-14 13:18:59 +0000 |
commit | ec32aa3e046b236c8a0f5aa5ea74d68bb120a6da (patch) | |
tree | 6113fdcb7ca7ddcd8a299d343310ef572184906a /tests/FunctionalTests | |
parent | 4bb1e22981b24cb3ab1c4f9b17937f1b58336af5 (diff) |
When rendering the <span> used as a placeholder for an invisible activecontrol, set its style to display:none to ensure it's considered not-visible by clientside javascript
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket504.php | 2 | ||||
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket521.page | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket504.php b/tests/FunctionalTests/tickets/protected/pages/Ticket504.php index f61bfec3..7ad8e989 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket504.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket504.php @@ -8,8 +8,6 @@ class Ticket504 extends TPage private function showPanel($id, $param) {
foreach($this->panels as $panel) {
if($id == $panel) {
- $this->$panel->setAttribute('style', 'display: block;');
- $this->$panel->render($param->NewWriter);
$this->$panel->setVisible(true);
} else {
$this->$panel->setVisible(false);
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket521.page b/tests/FunctionalTests/tickets/protected/pages/Ticket521.page index e1f65663..f3014020 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket521.page +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket521.page @@ -1,9 +1,5 @@ <com:TContent ID="Content">
-<!--
- <com:System.Web.UI.ActiveControls.TActiveButton ID="addInvestType" Text="Add"
- OnCallback="doSave" />
--->
<com:System.Web.UI.ActiveControls.TActiveButton id="button1" OnClick="doOnClick" OnCallback="doSave" Text="Save" />
<com:System.Web.UI.ActiveControls.TActiveLabel ID="label1" Text="Label 1" />
|