summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket205.page2
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket207.page2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket205.page b/tests/FunctionalTests/tickets/protected/pages/Ticket205.page
index 1481a227..5735b22a 100644
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket205.page
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket205.page
@@ -20,7 +20,7 @@
ControlCssClass="required"
OnServerValidate="customValidate"
ClientValidationFunction="clientSideCustomValidate"
- ClientSide.OnError="alert('error')"
+ ClientSide.OnValidationError="alert('error')"
ErrorMessage="must equal to 'Prado'" />
<com:TButton ID="button1" Text="Submit!" />
</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket207.page b/tests/FunctionalTests/tickets/protected/pages/Ticket207.page
index 556c5aae..594d512b 100644
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket207.page
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket207.page
@@ -6,7 +6,7 @@
id="validator1"
ControlToValidate="text1" Text="Error"
ClientSide.ObserveChanges="false"
- ClientSide.OnError="alert('error on text1 fired')" />
+ ClientSide.OnValidationError="alert('error on text1 fired')" />
<br />
<com:TTextBox ID="text2" /><br />
<com:TRequiredFieldValidator id="validator2" ControlToValidate="text2" Text="Error" />