[Jifty-commit] r2616 - in jifty/trunk: share/web/static/js
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Jan 26 20:11:28 EST 2007
Author: alexmv
Date: Fri Jan 26 20:11:28 2007
New Revision: 2616
Modified:
jifty/trunk/ (props changed)
jifty/trunk/share/web/static/js/calendar.js
Log:
r16707 at zoq-fot-pik: chmrr | 2007-01-26 20:10:40 -0500
* Canonicalize/validate after typing and blurring, too
Modified: jifty/trunk/share/web/static/js/calendar.js
==============================================================================
--- jifty/trunk/share/web/static/js/calendar.js (original)
+++ jifty/trunk/share/web/static/js/calendar.js Fri Jan 26 20:11:28 2007
@@ -87,7 +87,6 @@
input.value = year + "-" + month + "-" + day;
Jifty.Calendar.hideOpenCalendar();
- Form.Element.validate( input ); // We can't trigger an onBlur, so canonicalize/validate manually
},
openCalendar: "",
@@ -104,8 +103,9 @@
var input = $( inputId );
- /* Reenable canonicalization */
+ /* Reenable canonicalization, and do it */
Form.Element.enableValidation(input);
+ Form.Element.validate(input);
Jifty.Calendar.openCalendar = "";
}
More information about the Jifty-commit
mailing list