diff options
author | David <ottodavid@gmx.net> | 2014-08-21 20:23:14 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2014-08-22 12:41:59 +0200 |
commit | 559f84ea68d26d591c31fac982fc9d15e9a7b22b (patch) | |
tree | 6a52616687ae701061af05cc685a9968bb8bab94 /tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page | |
parent | d52bbb59ab1b1b9cd6d40f8f8b5c81dbbbc43d8f (diff) |
Fixed some testcases (replaced script by TClientScript)
(part of f35d4339 on master)
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page')
-rwxr-xr-x | tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page b/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page index 2ba1c6ba..5eadcb77 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page +++ b/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page @@ -9,13 +9,13 @@ <div id="div1" style="border:1px solid #666; background-color: #ffe; text-align: center; padding:3em"> Click Me! </div> - <script type="text/javascript"> + <com:TClientScript> Event.OnLoad(function() { Event.observe($("div1"), "click", function() { Prado.Callback("<%= $this->callback1->UniqueID %>") }) - }) - </script> + }); + </com:TClientScript> </com:TContent> |