summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected')
-rwxr-xr-xtests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page b/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page
index 645a2a92..402811d2 100755
--- a/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page
@@ -9,11 +9,11 @@
<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>
jQuery( document ).ready(function() {
jQuery("#div1").click(function() {
Prado.Callback("<%= $this->callback1->UniqueID %>");
});
});
- </script>
+ </com:TClientScript>
</com:TForm> \ No newline at end of file