summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page
index 375ede75..2af4b3c8 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/CallbackCustomValidatorTest.page
@@ -24,11 +24,16 @@
ErrorMessage="*"
ControlCssClass="required"
OnServerValidate="validate_text1">
+ <prop:ClientSide
+ OnError="$('status').innerHTML='Error '+(new Date())"
+ OnSuccess="$('status').innerHTML='Success '+(new Date())" />
<prop:ActiveControl.ClientSide
OnLoading="Element.show('loader')"
OnComplete="Element.hide('loader')" />
</com:TActiveCustomValidator>
+ <span id="status"></span>
+
<com:TButton Text="Submit" />
<span id="loader" style="display:none;" onfocus="alert('ok')" class="loader">Loading...</span>