From f35d43399a9ce03f08ffa326812bc5ed6764ef9e Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 10 Feb 2014 09:41:31 +0100 Subject: Ported some tests to jQuery --- .../protected/pages/NestedActiveControls.page | 16 +++++++--------- .../protected/pages/PostLoadingTest.page | 18 +++++++----------- 2 files changed, 14 insertions(+), 20 deletions(-) (limited to 'tests/FunctionalTests/active-controls/protected') diff --git a/tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.page b/tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.page index a7875c0d..7551336d 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.page +++ b/tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.page @@ -14,14 +14,12 @@ Click Me! - + + jQuery( document ).ready(function() { + jQuery("#div1").click(function() { + Prado.Callback("<%= $this->callback1->UniqueID %>"); + }); + }); + diff --git a/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page b/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page index 885b368f..9ae1dca2 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page +++ b/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page @@ -8,15 +8,11 @@
Click Me!
- - - + + jQuery( document ).ready(function() { + jQuery("#div1").click(function() { + Prado.Callback("<%= $this->callback1->UniqueID %>"); + }); + }); + \ No newline at end of file -- cgit v1.2.3