summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page')
-rwxr-xr-xtests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page6
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>