From fccd4014cec8ba6a3f584edfe0936db910676d0e Mon Sep 17 00:00:00 2001
From: tof <>
Date: Thu, 6 Mar 2008 16:50:45 +0000
Subject: Fix #787.

---
 HISTORY                                                         | 1 +
 framework/Web/Javascripts/source/prado/validator/validation3.js | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/HISTORY b/HISTORY
index d59c6cde..ee957c75 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9,6 +9,7 @@ BUG: Ticket#750 - The "expire" parameter is used inconsistently in cache modules
 BUG: Ticket#753 - Themes not allways being set (Qiang)
 BUG: Ticket#776 - Logout button should not cause validation in blog tutorial (Qiang)
 BUG: Ticket#785 - TDatePicker OnDateChanged event problem (Christophe)
+BUG: Ticket#787 - Typo in validation3.js (Christophe)
 BUG: Ticket#766, #786 - TDbCache does not work with MySQL and PostgreSQL (Qiang)
 BUG: Ticket#799 - Fixed several link errors in documentation about PDO (Qiang)
 BUG: Fixed a bug in TPropertyValue::ensureArray() (Qiang)
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js
index 62d6e718..75681562 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -85,7 +85,7 @@ Object.extend(Prado.Validation,
 		}
 		else
 		{
-			throw new Error("Form '"+form+"' is not registered with Prado.Validation");
+			throw new Error("Form '"+formID+"' is not registered with Prado.Validation");
 		}
 	},
 
-- 
cgit v1.2.3