diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page')
-rwxr-xr-x | tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page b/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page index 09ab2fbc..0a8167c8 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page +++ b/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page @@ -1,4 +1,4 @@ -<com:TForm>
+<com:TContent ID="Content">
<h1 id="heading">PostLoading Test</h1>
<com:TCallback ID="callback1" OnCallback="Page.callback1_requested" />
@@ -9,7 +9,7 @@ Click Me!
</div>
- <script type="text/javascript">
+ <com:TClientScript>
Event.OnLoad(function()
{
Event.observe($("div1"), "click", function()
@@ -17,8 +17,5 @@ Prado.Callback("<%= $this->callback1->UniqueID %>")
})
})
- </script>
-
- <com:TJavascriptLogger />
-
-</com:TForm>
\ No newline at end of file + </com:TClientScript>
+</com:TContent>
|