From 4755255f8b34acfaeec40cadbe2a04f2dc5570fe Mon Sep 17 00:00:00 2001 From: Gonzalo Merayo Date: Wed, 2 Jul 2003 23:03:07 +0000 Subject: [PATCH] Se traducen los warnings de javascript. --- lib/MECON/HTML/QuickForm.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MECON/HTML/QuickForm.php b/lib/MECON/HTML/QuickForm.php index 7258df1..1c7763d 100644 --- a/lib/MECON/HTML/QuickForm.php +++ b/lib/MECON/HTML/QuickForm.php @@ -41,6 +41,7 @@ class MECON_HTML_QuickForm extends HTML_QuickForm { $this->registerElementType('mdate', 'MECON/HTML/QuickForm/mdate.php', 'HTML_QuickForm_mdate'); $this->registerRule('fecha', 'function', 'validate', 'HTML_QuickForm_mdate'); $this->setRequiredNote('* indica un campo obligatorio'); + $this->setJsWarnings('Hay errores en el formulario:', 'Por favor corríjalos antes de continuar.'); } function addRule($element, $message, $type, $format='', $validation='client', $reset = false, $force = false) { -- 2.43.0