diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-14 22:36:10 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-14 22:36:10 +0100 |
commit | 0a136fe37491281ada5084b6eb5a72d4ca8d948a (patch) | |
tree | 13570d66810a4c163760ebebb13377e9cb4f2068 /tests/FunctionalTests/active-controls/protected/pages/Callback.page | |
parent | ef81c440220286dafb7b5f3c639d1d76e0f32f62 (diff) |
Removed TJavascriptLogger from demos and tests
Any browser’s development tool is way better, and it stops exceptions
from being catched by the browser’s console
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/Callback.page')
-rwxr-xr-x | tests/FunctionalTests/active-controls/protected/pages/Callback.page | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Callback.page b/tests/FunctionalTests/active-controls/protected/pages/Callback.page index d8744760..3404cf6e 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/Callback.page +++ b/tests/FunctionalTests/active-controls/protected/pages/Callback.page @@ -1,15 +1,13 @@ <com:TForm>
<com:TCallback ID="callback1" OnCallback="callback1_Requested" />
- <script type="text/javascript">
+ <script type="text/javascript">
function do_callback1()
- {
+ {
var callback = <%= $this->callback1->ActiveControl->Javascript %>;
callback.dispatch();
- }
- </script>
+ }
+ </script>
<div onclick="do_callback1()">Click Me!</div>
- <com:TJavascriptLogger />
-
</com:TForm>
\ No newline at end of file |