summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-02-08 18:54:02 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-02-08 18:54:02 +0100
commit2c8bfeb7d677ceeb52ef1883c4aae9cb08766886 (patch)
tree4b930203a7622fbe0fd27bdde61010e5529c45c7
parent94327950ef50e98e94bf2164aecc81efe510d115 (diff)
Fixed TActivePanel test
-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