From ec32aa3e046b236c8a0f5aa5ea74d68bb120a6da Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 14 Apr 2012 13:18:59 +0000 Subject: When rendering the used as a placeholder for an invisible activecontrol, set its style to display:none to ensure it's considered not-visible by clientside javascript --- tests/FunctionalTests/tickets/protected/pages/Ticket504.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket504.php') 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); -- cgit v1.2.3